Commit Graph

15035 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
3e5a87d6d7 * CutAndPaste.cpp:
- correctly set buffer on paste. This fixes a crash on pasting branches 
	   within child documents (bug 5813)

(patch by rgheck)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28709 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-07 11:37:51 +00:00
Vincent van Ravesteijn
06f2013ab8 branch: InsetTabular.cpp: Make sure the caption is inserted in the correct cell. This means we first have to reset the cursor to point to the new multicolumn, and then insert the caption.
See:
http://www.lyx.org/trac/changeset/28441

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28652 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-01 16:06:04 +00:00
Vincent van Ravesteijn
364cc24033 Fix nr.3 of bug 4346.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28643 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-28 16:52:46 +00:00
Vincent van Ravesteijn
e09184fd5d branch: Fix bug 5765: http://bugzilla.lyx.org/show_bug.cgi?id=5765.
[visual cursor] Crash when cutting a figure caption and moving the cursor. 
Avoid negative positions. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28638 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-27 23:03:39 +00:00
Vincent van Ravesteijn
d39be32421 branch: Fix bug 5762: http://bugzilla.lyx.org/show_bug.cgi?id=5762.
[visual cursor] Crash when moving left in table in an RTL document 
Avoid negative positions. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-27 22:59:54 +00:00
Vincent van Ravesteijn
5f63e5539e branch: Fix the fix for bug 4346: http://bugzilla.lyx.org/show_bug.cgi?id=4346.
Synchronizing insets asserts with two views open

This finishes the change of http://www.lyx.org/trac/changeset/28587.

Replace the setButtonLabels functions that need a BufferView by buttonLabel functions. These functions modify the label at drawing time.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28624 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 20:05:48 +00:00
Vincent van Ravesteijn
10dfb843e5 branch: Fix bug 5806: http://bugzilla.lyx.org/show_bug.cgi?id=5806.
Branch names with spaces impossible

Read the whole line to catch the whole branch name.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28623 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 19:43:01 +00:00
Vincent van Ravesteijn
33228fba67 branch: Fix bug 5744: http://bugzilla.lyx.org/show_bug.cgi?id=5744.
Crash with completion in mathed.

When deleting an inset, the stored DocIterator might contain a reference to a non-existent Inset and Text. Therefore, if we detect that the depth has changed, we are (for sure) not in the same paragraph, but we should make sure not to ask for the innerParagraph.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28608 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 21:08:46 +00:00
Enrico Forestieri
7dc351d2a2 Fix bug 5541: http://bugzilla.lyx.org/show_bug.cgi?id=5541
This was due to a thinko in http://www.lyx.org/trac/changeset/26002


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28606 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 12:17:46 +00:00
Vincent van Ravesteijn
2f695eb436 branch: Fix bug 5797: http://bugzilla.lyx.org/show_bug.cgi?id=5797.
GetStatus of an InsetCollapsable asserts for unhandled commands.

When you add a command to the context menu of an InsetCollapsable of which the getStatus method does not handle this command, an assertion will be raised. This happens when getStatus doesn't handle a command it is forwarded to text::getStatus which asserts because cur.text() is the text the inset is in, while this is the text of the inset. So, we only dispatch to text_ if the cursor is inside the text_. This is not the case for e.g. context menus.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28591 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-24 08:47:20 +00:00
Vincent van Ravesteijn
c17f118c9c Fix bug 4346: http://bugzilla.lyx.org/show_bug.cgi?id=4346.
Synchronizing insets asserts with two views open

It changes the autoOpen_ member of InsetCollapsable into a map, such that an autoOpen value can be specified for each bufferView. Now, the assertion is avoided and insetCollapsable can be open in one bufferview and be closed in the other in very special cases that the cursor end up in a closed inset.

Compare with the MathMacro::editing_ member. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28587 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-23 18:44:43 +00:00
Vincent van Ravesteijn
a9e9e03ce9 branch: Fix a crash when removing the label of an included Program Listing.
See also:
http://www.lyx.org/trac/changeset/28563

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28570 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-20 19:36:19 +00:00
Jürgen Spitzmüller
6dc0daf570 * tex2lyx/preamble.cpp:
- fix thinko that caused tex2lyx to silently drop custom preamble entries in non-LyX-generated tex files.
	  (bug 5788). Patch from Jean-Marc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-20 09:46:31 +00:00
Vincent van Ravesteijn
97f2db1754 branch: Fix bug 5785: http://bugzilla.lyx.org/show_bug.cgi?id=5785.
Reference dialog update crash for read-only documents. 
Comments: 
* -1 is a valid return of bufferCO->currentIndex() so we need to test for it. 
* set the correct enabling of the button in case no call to updateContents follows. 
* remove unneeded call to setFocusProxy. The widget is either disabled or the focus proxy is set in updateRefs. 

See also:
http://www.lyx.org/trac/changeset/28547

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28565 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 21:49:37 +00:00
Vincent van Ravesteijn
32c16755f3 branch: Fix a crash on exit when the child documents are already unloaded (r28492).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28550 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 00:07:53 +00:00
Jürgen Spitzmüller
cd497efe68 Fix bug 5699 (crash when using outliner in child document while the master is not opened).
The problem was that, if the master is not opened, no respective guiDelegate exists, and the functions that update the toc do not trigger. The fix is to update the child's toc backend and toc items directly in such cases.

All credits (for both detecting and fixing the problem) go to Vincent, who is going to submit the (slightly different) fix to trunk.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28527 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-17 15:18:47 +00:00
Jürgen Spitzmüller
acab294b87 cosmetics/file encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28508 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-16 08:19:40 +00:00
Uwe Stöhr
13d6f8a0f7 InsetTabular.cpp: fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5777 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28505 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 17:33:49 +00:00
Jürgen Spitzmüller
934891187f * Buffer.cpp:
- avoid wrong console message while loading a child from a master
	  that lead me on the wrong track when debugging bug 5699.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28490 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-14 14:00:06 +00:00
Jürgen Spitzmüller
e04941cc26 * Buffer.h: cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28488 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-14 13:50:02 +00:00
Uwe Stöhr
bfa5b4bb49 InsetTabular.cpp: I removed this code accidentally in r28473 - this would have been a regression, therefore readding it.
(Sorry for all my mistakes in committing the last days.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28484 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 23:45:45 +00:00
Uwe Stöhr
ca42256a10 InsetTabular.cpp: I was over eager in r28443: there can only be one caption, but several header/footer rows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28475 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 03:17:05 +00:00
Uwe Stöhr
1248178b79 InsetTabular.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5772 and http://bugzilla.lyx.org/show_bug.cgi?id=5773 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28473 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 00:30:38 +00:00
Jean-Marc Lasgouttes
66ae46b359 compilation fix on openbsd (bug 5650)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28449 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 17:15:16 +00:00
Jean-Marc Lasgouttes
6278f205e6 when painting a row, do not try to read the x data from insets that are not in the coordcache (bug 5666)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28446 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 14:44:35 +00:00
Uwe Stöhr
b920bcd5a5 - InsetTabular.cpp: partly reverting r28441, because I was wrong: it is totally valid to have several rows to be the header and also several rows can have a caption, my own EmebeddedObjects manual has examples for this - stupid me!
Bug 5752 is nevertheless still fixed.

- status.16x: add entry

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28443 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 03:21:12 +00:00
Uwe Stöhr
0360ab7ff0 GuiTabular, InsetTabular: fix http://bugzilla.lyx.org/show_bug.cgi?id=5752
also for branch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28441 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 01:31:17 +00:00
Vincent van Ravesteijn
8dac774bd5 branch: Fix bug 5753: http://bugzilla.lyx.org/show_bug.cgi?id=5753.
Crash when setting caption on a row with a multicolumn. 
If there is already a multicolumn on the row, the number of cells is different from column_info.size(). 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28436 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 17:52:52 +00:00
Vincent van Ravesteijn
3b70e49fd1 branch: Fix bug 5711: http://bugzilla.lyx.org/show_bug.cgi?id=5711.
Add button in Citation dialog grayed out when key matches the start of an already selected key. 
One parameter of match() was forgotten, so the MatchFlags? were basically ignored, i.e. the standard flags were used always. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28435 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 17:47:56 +00:00
Vincent van Ravesteijn
396000e56f branch: Fix bug 5766: http://bugzilla.lyx.org/show_bug.cgi?id=5766.
Crash when selecting a row and doing "Delete column" in a table with multicolumns. 
The check "column + 1 < column_info.size()" checks whether there is at least one column after this one. However, this check is no longer valid if we remove the column from column_info first. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28434 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 17:44:10 +00:00
Pavel Sanda
25ac6ec204 Backport fix for 5082
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28433 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 16:31:17 +00:00
Jürgen Spitzmüller
da5c1995b1 * TocWidget.cpp:
- improve performance with Outliner open with Qt >= 4.3 by using native methods instead of home-brewn code.
	  This should especially pay off on the Mac, if the Outliner shows as a drawer (bug 4443).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28431 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 08:24:55 +00:00
Vincent van Ravesteijn
ea02d9aac2 branch: Fix bug 5750: http://bugzilla.lyx.org/show_bug.cgi?id=5750.
Wrong width display of multicolumn cells.

When changing a custom width cell into a multicolumn, the isFixedWidth bool should be set to false. Now, the function setFixedWidth could only set isFixedWidth to true when needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28415 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 18:12:39 +00:00
Vincent van Ravesteijn
cd81bb016e branch: Fix bug 5764: http://bugzilla.lyx.org/show_bug.cgi?id=5764.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28413 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 18:03:24 +00:00
Vincent van Ravesteijn
af485b4896 branch: Fix bug 5604: http://bugzilla.lyx.org/show_bug.cgi?id=5604.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28412 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 17:56:52 +00:00
Vincent van Ravesteijn
ade35c0625 branch: Prevent assertion when closing LyX with GuiTabular open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28411 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 17:47:43 +00:00
Pavel Sanda
8be06af03e Backport 5767 bugfix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28410 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 11:41:31 +00:00
Vincent van Ravesteijn
f58b2efff9 branch: Fix bug 5573: http://bugzilla.lyx.org/show_bug.cgi?id=5573.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28398 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 13:08:12 +00:00
Vincent van Ravesteijn
2a2cb7fc33 branch: Add *.lyx16 to the file-open dialog file filter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28386 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-07 17:27:01 +00:00
Jürgen Spitzmüller
531bb4e207 Bug 5562: Fix command line output of subfigure insets by introducing new OutputParams and LaTeXFeatures members that tell the insets whether they are in a (sub)float.
Later, this can be replaces by a backpointer approach, as proposed at bugzilla (note that there are already similar cases such as InComment or InTableCell, so a backpointer approach would need to adapt the OutputParams methos anyway).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28383 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-07 12:28:04 +00:00
Jean-Marc Lasgouttes
2bf11a0fb5 Text::read: when reading a text inset with 0 paragraphs in it, create a dummy paragraph to avoid a crash (bug 4859)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28348 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 14:58:34 +00:00
Vincent van Ravesteijn
f9d3662c92 branch: Fix bug 5731. http://bugzilla.lyx.org/show_bug.cgi?id=5731
Insert column after the current one, then copy the current one to the new one.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28343 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 23:34:05 +00:00
Vincent van Ravesteijn
a24b258abb branch: Fix bug 5736: http://bugzilla.lyx.org/show_bug.cgi?id=5736.
If the current TextMetrics does not contain the paragraph the cursor is in, the screen is recentered. Now, the current TextMetrics should be updated to one that does contain the cursor (as we have just recentered)..

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28342 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 23:30:26 +00:00
Jürgen Spitzmüller
1a00ebbd90 * LyXFileDialog.cpp:
- limit workaround for Qt bug that was fixed in Qt 4.3.4 to previous Qt versions
	  (related to bug 4513).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28337 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 16:29:27 +00:00
Jürgen Spitzmüller
8560523368 please Jean-Marc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28323 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-02 13:50:42 +00:00
Jean-Marc Lasgouttes
b1996016e0 disable math functions in places like ERT insets (bug 5703)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28321 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-02 13:42:07 +00:00
Jürgen Spitzmüller
a776656636 * InsetMathHull (numbered):
- prevent NULL pointer (bug 5688).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28320 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-02 13:37:36 +00:00
Pavel Sanda
2aad3a89c1 Backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28277 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 12:26:50 +00:00
Jürgen Spitzmüller
ded7151f8c * GuiViewSource.cpp:
- enable widget in read-only mode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28271 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-24 12:40:15 +00:00
Pavel Sanda
34c48bc081 Missing parts of the patch.
Sorry for this mess, my terminals baffled me :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28265 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-21 20:19:34 +00:00
Pavel Sanda
19839d8c82 Backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28257 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-20 14:51:18 +00:00
Pavel Sanda
a13b78cf3c Fix http://bugzilla.lyx.org/show_bug.cgi?id=5697 .
Backport trunk fix http://www.lyx.org/trac/changeset/27780 for
bug http://bugzilla.lyx.org/show_bug.cgi?id=5389 .



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-20 13:50:04 +00:00
Vincent van Ravesteijn
3e8ce1cd0b branch: Avoid crash due to an infinite recursive loop when inset is NULL. Backport of r28242
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28245 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 15:30:31 +00:00
Jürgen Spitzmüller
cf22a26d5d * LaTeXFeatures.cpp:
- make lyxarrow robust, since \@ifstar is fragile.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28236 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:01:12 +00:00
Richard Heck
596098c6e8 Localize a couple strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28220 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 18:13:22 +00:00
Pavel Sanda
6eb290160b Backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28217 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 16:33:59 +00:00
Richard Heck
d3f7b1fef6 Backport 28190, 28191.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28215 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 15:55:32 +00:00
Richard Heck
be42d0ed00 Partially revert r28128, which was causing problems. A better version
follows.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28214 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 15:53:31 +00:00
Pavel Sanda
c38fe91fbe Backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28208 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 13:56:59 +00:00
Vincent van Ravesteijn
90cb9cc852 branch: "Copy as Reference" in the context menu of a label.
New feature from Stefan. See also http://www.lyx.org/trac/changeset/27575.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28206 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 13:54:26 +00:00
Jürgen Spitzmüller
ca9723c2da * improve graphics group UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28199 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 08:06:04 +00:00
Uwe Stöhr
9158749b08 InsetHyperlink.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5686 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28196 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 05:29:58 +00:00
Jürgen Spitzmüller
d44dc8f129 * environment.cpp:
- correct return value of setenv.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28183 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 14:46:35 +00:00
Pavel Sanda
8bc907d5ad Backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28180 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 22:52:18 +00:00
Jürgen Spitzmüller
e1240b8e0e * configure.ac:
- use ISO format for LYX_DATE
* GuiAbout.cpp:
	- make release date translatable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28174 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 14:01:37 +00:00
Jürgen Spitzmüller
d72c575b1f * GuiBox.cpp:
- remove the useless "none" special length from the combo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28157 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 14:40:36 +00:00
Jean-Marc Lasgouttes
9af89bbb3e Fix bug 4741: Pasting with middle mouse button into read only document works
http://bugzilla.lyx.org/show_bug.cgi?id=4741

Create a new LFUN selection-paste (to paste the internal selection), and bind
middle mouse button to
    command-alternatives selection-paste ; primary-selection-paste paragraph



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 14:32:59 +00:00
Jürgen Spitzmüller
7890255bf8 * GuiBox.cpp:
- fix enabling behaviour of height widgets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 14:25:52 +00:00
Pavel Sanda
0d8ca0d309 Backport LFUN_VC_COMMAND
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28151 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 10:41:20 +00:00
Jürgen Spitzmüller
ab7517af1a * LengthCombo.{cpp, h}:
- use model/view infrastructure to store reliable data
	- use real unit name, not i18n strings, for all comparision purposes
	- remove unit "mu" in default contruction (bug 5682)
	- add some helpers to add and remove units

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28147 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 10:21:14 +00:00
Jürgen Spitzmüller
8e509389eb * load CJKutf8 package, if available, for CJK documents in utf8 encoding
(first part of fix to bug 5386)

* also fix the mess in LaTeXConfig.lyx caused by rev. 28115. Sorry about that!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28143 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 09:28:05 +00:00
Richard Heck
54cd1dda02 Improve the rendering of BibTeX data in InsetCitation. This backports a handful
of commits from trunk.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28128 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 15:30:26 +00:00
Jürgen Spitzmüller
99b6211914 * lengthcommon.cpp:
- adjust line length.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28120 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 09:21:14 +00:00
Jürgen Spitzmüller
22395911d8 * use ulem instead of soul for change tracking
(fixes bugs 5091, 5480, 5647).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28115 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 08:03:06 +00:00
Jürgen Spitzmüller
b3141282ee * qt_helpers.cpp:
- fix function Length lengthFromWidgets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28113 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 06:48:49 +00:00
Uwe Stöhr
e8a81a1499 - lengthcommon.cpp: separate the translations for mu
- remerge po.files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28108 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 01:57:07 +00:00
Bo Peng
fd2a1fc368 Fix a LaTeX export error that prevents the inclusion of two program listings that differ only by file extension (bug 5681).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28101 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 19:53:48 +00:00
Enrico Forestieri
67bda0c384 Fix layout of the View Source window when using Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28092 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 12:13:54 +00:00
Jürgen Spitzmüller
07221b882b * LaTeXFeatures.cpp:
* InsetSpecialChar.cpp:
	- make the menu separator direction aware (in LaTeX output), bug 3560.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28086 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 08:37:11 +00:00
Jürgen Spitzmüller
361c958427 * InsetSpace.cpp: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28070 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-10 17:06:59 +00:00
Uwe Stöhr
3b7a5f26c4 \hspace support in math also for branch, fixes http://bugzilla.lyx.org/show_bug.cgi?id=2558
(Documentation follows later.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28064 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-10 15:54:18 +00:00
Enrico Forestieri
c9b7803f6e Fix bug 5665
http://bugzilla.lyx.org/show_bug.cgi?id=5665


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28061 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-10 14:28:10 +00:00
Pavel Sanda
7e8d24a53a Branch too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28053 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 08:47:35 +00:00
Pavel Sanda
d05f65c91a one minute late
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28049 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 07:47:37 +00:00
Jürgen Spitzmüller
b091d6911d * GuiView.cpp (insertPlaintextFile):
- set a proper file filter in the file dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28046 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 07:40:21 +00:00
Pavel Sanda
6f1c72bdc6 Backport 5648
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28044 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 07:33:51 +00:00
Jürgen Spitzmüller
f96a5217e8 * GuiDocument.cpp (dispatchParams):
- do not set master buffer and warn if the master does not include child
	- issue warning if the master could not be loaded.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28035 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-08 08:01:24 +00:00
Jürgen Spitzmüller
07dc0b8377 * TocWidget: whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28025 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 14:50:10 +00:00
Jürgen Spitzmüller
84c36ca1a9 * Buffer.cpp:
- prevent potential null pointer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28022 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 11:07:12 +00:00
Jürgen Spitzmüller
765adf1dd0 * Buffer.cpp:
- do not set master_file as master buffer if the document s no real child (bug 5653).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28021 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 07:58:16 +00:00
Vincent van Ravesteijn
86bd6550e1 branch: Fix crash when no new document can be created.
This occurs frequently when the temporary directory cannot be created because it already exists. The temporary directory can exist as a result of previous crashes of LyX. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27997 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 14:37:52 +00:00
Vincent van Ravesteijn
7f77edbeac branch: Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5560.
Allow users to paste text from e.g. MS Word. This text can be paste from clipboard both as text and as graphics. LyX should prefer to paste it as text.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27996 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 14:29:40 +00:00
Enrico Forestieri
f6ce0ddbdc * Encoding.cpp (fromLaTeXCommand): fix bug when the string passed
to the method does not match any of the known unicode symbols.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27970 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-23 13:01:56 +00:00
Pavel Sanda
cf1205de05 Backport 5626 fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27951 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 10:53:13 +00:00
Jürgen Spitzmüller
07ad6b8d9d * GuiPrefs.cpp (apply):
- unbind existing shortcuts before binding new ones (bug 5444).
	  Patch submitted and tested by Bennett.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27949 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 10:47:50 +00:00
Jürgen Spitzmüller
74e1ca54c4 * Text3.cpp:
- enable LFUN_INSET_DISSOLVE for insets at cursor (bug 4985).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27946 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 10:03:49 +00:00
Pavel Sanda
46a6e652ed Backport.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27937 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 14:04:24 +00:00
Pavel Sanda
7ca73f03ef Backport for 5628.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27934 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 10:14:48 +00:00
Jürgen Spitzmüller
c2b4904a02 * LaTeXUI.ui:
* UserGuide:
	- Postscript driver -> graphics driver.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27921 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-19 10:04:05 +00:00
Jürgen Spitzmüller
79985fb512 * BufferParams.{cpp,h}:
- pass graphics driver to geometry (bug 5613)
        - put papersize options to package call, not in \geometry
          which broke compilation in some cases (bug 3838)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27918 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-19 09:33:50 +00:00
Jean-Marc Lasgouttes
188dc2e149 rename tex2lyx.man to tex2lyx.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27911 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:59:56 +00:00
Jean-Marc Lasgouttes
9ee1e3a051 remove stuff relevant only to reLyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27910 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:57:44 +00:00
Jean-Marc Lasgouttes
d1281bcec7 put tex2lyx test files in their own directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27909 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:53:26 +00:00
Jean-Marc Lasgouttes
58aa53ee10 remove unused method Parser::pop_back()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27908 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:47:46 +00:00
Jean-Marc Lasgouttes
c087c43dd7 add support for changing encoding on idocstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27907 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:34:47 +00:00
Jean-Marc Lasgouttes
d68a7867a4 cosmetic: rename [io]docfstream to [io]fdocstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27906 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:31:10 +00:00
Richard Heck
e695760740 Currently, a second InsetLayout declaration of a given inset completely
overwrites the existing definition, instead of updating it, as our Style
declarations do. This patch fixes this behavior, so that e.g.:

#\DeclareLyXModule{ERT}
#DescriptionBegin
#Make ERT Classic
#DescriptionEnd

Format 11

InsetLayout ERT
	Decoration classic
End

will do as advertised.

Also includes changes to minimalistic.module that are then made possible.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27903 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:39:27 +00:00
Richard Heck
d762d867b9 Cleanup (r27897) now for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27902 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:17:19 +00:00
Richard Heck
9823a8c4ef The trivial r27894 for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:04:59 +00:00
Jürgen Spitzmüller
b2ee876447 Let InsetWrap find its InsetLayout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27896 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 15:36:27 +00:00
Jürgen Spitzmüller
e836235dcb * BufferView.cpp:
- record undo for LFUN_NEXT_INSET_MODIFY.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27890 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 09:03:47 +00:00
Jürgen Spitzmüller
97675f03a0 * LyXAction.cpp:
- LFUN_NEXT_INSET_MODIFY: ReadOnly -> Noop.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27889 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 07:45:46 +00:00
Jean-Marc Lasgouttes
03ebfe5a14 better output for "-dbg action"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27886 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 16:38:18 +00:00
Jean-Marc Lasgouttes
4d82d73233 * TextMetrics.cpp (rowHeight): do not compute inset dimensions unless
they are in the row -- major spedup (bug 4443).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27884 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 15:44:27 +00:00
Jean-Marc Lasgouttes
56099b0d89 make help-open search in examples too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27860 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-12 15:56:39 +00:00
Jürgen Spitzmüller
201cfa6052 * LyXFunc.cpp: prevent potential assertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27843 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-11 09:26:41 +00:00
Jürgen Spitzmüller
3f7b191c65 * Paragraph.cpp: embrace ']' (fix bug 5610)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27839 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-10 19:53:39 +00:00
Jürgen Spitzmüller
709186f727 * LyXFunc.cpp (reload):
- do not release buffer, but simply re-read Document (fix bug 5389).

Patch reviewed by Abdel.

Alas, this doesn't work in trunk (triggers another crash). I suspect this is due to the updateLabels change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27780 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-06 14:07:53 +00:00
Jürgen Spitzmüller
54303a271d * src/buffer_funcs.{cpp,h}:
- add optional bool "acceptDirty" to checkAndLoadLyXFiles. 
	   If true, the method doesn't care for buffer dirtiness
* src/Buffer.cpp:
	- when checking for master buffer, do not care if it's dirty
	  (fix bug 5514)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27775 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-05 15:55:10 +00:00
Jürgen Spitzmüller
b75dc1a800 * GuiToolbar.cpp (set):
- honour obsoleted styles (part of bug 2607).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27773 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-05 14:05:31 +00:00
Jürgen Spitzmüller
b3a336fbdf * GuiSpellchecker:
- prevent invalid pointer access (spellchecker crash reported by Abdel).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27771 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-05 10:22:38 +00:00
Jürgen Spitzmüller
aa0c7c58b4 * Buffer.cpp (readFile):
- set params().compressed (bug 5589).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27769 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-04 09:14:53 +00:00
Jürgen Spitzmüller
073c645bc1 Add button to rescan the list of bib/bst files from within the dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27762 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-02 16:59:28 +00:00
Vincent van Ravesteijn
703df4dc45 branch: Fix bug 5507: Full screen hangs LyX when no file is opened
http://bugzilla.lyx.org/show_bug.cgi?id=5507

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27745 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 17:58:44 +00:00
Jürgen Spitzmüller
f6e2942f05 * LaTeX.cpp (run):
- perform an additional bibtex cycle if requested
	  (e.g. by Biblatex)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27742 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 14:28:15 +00:00
Vincent van Ravesteijn
6c2388a9c9 branch: Fix bug 5472: Crash while switching to Word
http://bugzilla.lyx.org/show_bug.cgi?id=5472

In GuiApplication.cpp the function cfFromMime returns an invalid FORMATETC struct with uninitialized members when the mimeType is not emf or wmf. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27739 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 14:16:00 +00:00
Uwe Stöhr
f936464eba Paragraph.cpp: revert r27720 because this breaks every document that uses a note or comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27733 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 00:22:09 +00:00
Jean-Marc Lasgouttes
4c339de71c when validating a paragraph, skip insets that do not produce output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27720 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-27 08:47:25 +00:00
Enrico Forestieri
bb34a8b8a4 Fix bug 641 (Detect stale lyxpipes after crash)
http://bugzilla.lyx.org/show_bug.cgi?id=641


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27714 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-26 19:10:42 +00:00
Richard Heck
caebfcf96a - Make the character style and custom inset menus quote the arguments
to flex-insert so that CharStyles, etc, with spaces in their names 
  will work properly.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27707 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-25 23:42:42 +00:00
Vincent van Ravesteijn
691d2cce97 branch: Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5567: Enable up button in command buffer widget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27704 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-25 15:38:54 +00:00
Richard Heck
76144c7942 Backport fix for 5539.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27702 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-25 13:37:49 +00:00
Stephan Witt
fc9fd779b9 convert string arguments for bformat with proper encoding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27695 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-24 21:11:03 +00:00
Vincent van Ravesteijn
5204a42c85 branch: Some fixes for the buttons of the Document and Preferences dialog:
http://bugzilla.lyx.org/show_bug.cgi?id=5295
- set the bc status to INITIAL when the dialog is initialized, and
- enable the restore button in the Document dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27686 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-23 15:09:22 +00:00
Jürgen Spitzmüller
87788aa8e3 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27685 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-23 14:47:02 +00:00
Jürgen Spitzmüller
b67ec0464e * GuiErrorList.cpp (showEvent):
- add missing dialog update to fix a problem reported on the users list
	  and here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506183
	  (missing package error not shown).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27680 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-23 10:57:01 +00:00
Vincent van Ravesteijn
ff23cca6e1 branch: Fix tabular cursor movement.
- allow repeated shift-up in a multi-line column,
- finish r27581: we have to call cur.selHandle ourselves now,
- do not dispatch to the cell in multicell selection.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27675 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 20:24:30 +00:00
Vincent van Ravesteijn
f1e76e81af branch: Do not paint an invisible cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27674 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 20:08:37 +00:00
Vincent van Ravesteijn
fc95647f75 branch: Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5536.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27673 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 20:05:17 +00:00
Vincent van Ravesteijn
6de47766b9 branch: Correct painting of a fully selected tabular cell.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27672 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 20:00:21 +00:00
Dov Feldstern
2bf895b493 get rid of code duplication between overloaded versions of isRTLBoundary
This is in preparation of some changes to be made in this function, now the change will only have to be done once... 

(backport of http://www.lyx.org/trac/changeset/27656)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 17:55:48 +00:00
Jürgen Spitzmüller
78129d4511 * output_latex:cpp:
- fix some CJK nesting issues.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27666 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 16:43:06 +00:00
Enrico Forestieri
5364085bfe After a better understanding of the problem, restrict the fix for
bugs 5216, 5280, and 5489 to the ISO-2022-JP encoding.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27661 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-21 23:04:44 +00:00
Jürgen Spitzmüller
69839e1ae6 * src/Language{.cpp,h}:
- new member internalFontEncoding() that indicates if a language
	  switches the font encoding internally.

* src/Paragraph.cpp (latexSpecialChar):
	- don't call latexSpecialT1 if the internal font encoding isn't T1.

This fixes the output of straight quotation marks in Hebrew and Greek.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27659 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-21 14:53:47 +00:00
Richard Heck
a8042a63a9 Fix 5538, now in branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27641 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-19 16:39:16 +00:00
Enrico Forestieri
3ebf6c0868 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5489 and at the same time
properly fix bugs 5216 and 5280. The best thing to do would be recognizing
at configure time a buggy iconv and #defining WORKAROUND_ICONV_BUG in
config.h, but I don't know how that could be done.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27620 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-18 13:31:44 +00:00
Vincent van Ravesteijn
31839fa04e branch: Fix some small Tabular UI glitches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27613 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 19:16:17 +00:00
Pavel Sanda
0502dfcc34 backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27610 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 12:52:02 +00:00
Jean-Marc Lasgouttes
c450c436a8 implement undo grouping for command sequences (part of bug 5531)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27608 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 12:42:53 +00:00
Pavel Sanda
16dfab5c63 backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27607 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 12:31:43 +00:00
Pavel Sanda
78c4dc3a1e backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27597 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 23:25:29 +00:00
Vincent van Ravesteijn
eb3f74eeac branch: Make sure the selection painting is updated after LFUN_UP or LFUN_DOWN. See http://thread.gmane.org/gmane.editors.lyx.devel/113428
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27581 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:54:09 +00:00
Richard Heck
c3b31fda27 Backport r27481. From JMarc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27505 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 22:53:34 +00:00
Uwe Stöhr
e1a046c07b backport r27493: fix http://bugzilla.lyx.org/show_bug.cgi?id=4430
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27497 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 22:13:54 +00:00
Stefan Schimanski
59b8a01515 * save one redraw on each change of the scrollbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27475 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 18:58:03 +00:00
Pavel Sanda
4c973bb8d4 backport bugfix for 5274
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27464 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 17:10:35 +00:00
Abdelrazak Younes
4ece71f68d backport r27459
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27461 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 16:43:08 +00:00
Jürgen Spitzmüller
6de80cd8ff * InsetMathHull (eolString):
- revert rev. 27412. This is more complicated.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27436 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 11:02:24 +00:00
Jürgen Spitzmüller
c8ecd8d24a * InsetMathHull (eolString):
- Properly escape non-ASCII characters in equation labels (bug 5512).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27412 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 10:05:07 +00:00
Jürgen Spitzmüller
233d7958a3 * Paragraph.cpp: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27404 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-12 20:24:08 +00:00
Jürgen Spitzmüller
3cc2dda65e * InsetLabel.cpp:
- no duplicate check for unchanged parameters (bug 5496).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27403 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-12 18:51:36 +00:00
Abdelrazak Younes
7e6af45b0d Fix http://bugzilla.lyx.org/show_bug.cgi?id=5491 without reintroducing http://bugzilla.lyx.org/show_bug.cgi?id=5409 . The first part of r27162 was enough for fixing it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27383 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 14:28:44 +00:00
Abdelrazak Younes
c8c3487036 MSVC/Cmake compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27382 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 14:22:42 +00:00
Richard Heck
b83564d82c Inset::textString --> Inset::tocString
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27378 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-10 22:45:14 +00:00
Enrico Forestieri
3fe8463ddf Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5467
(too much C++, I presume :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27352 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-08 23:44:43 +00:00
José Matox
bd64e75489 Fix bug 5411
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27329 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 19:17:35 +00:00
Jean-Marc Lasgouttes
4804b60f1c do not show Index contents in ToC (note that Inset::textString is only for this use)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27326 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 13:06:20 +00:00
Richard Heck
c573ab4976 Fix final default-module-related bug reported by Philippe. The comments
in the code should explain what the problem was.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27313 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-06 14:59:14 +00:00
Richard Heck
3ac4460c07 Forgot to change this line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27282 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:46:22 +00:00
Richard Heck
362d6e468f This patch fixes a set of bugs reported by Philippe relating to excluded
and default modules. The lesson, in the end, is that we need to do all the
removal of modules that no longer `fit', for whatever reason, before we
do anything else. So the patch basically just moves the `removal' code
into a new routine that gets called before the routines that add default
modules and then check consistency.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27281 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:42:16 +00:00
Richard Heck
5e45cd4c44 Revert the last few patches. I'll commit a more general fix all at once.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27280 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:32:37 +00:00
Richard Heck
3a9a0fc3e6 Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27279 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:15:09 +00:00
Richard Heck
c94d0da408 More fixes for bugs noticed by Philippe.
We want to do all the excluding before we do any of the adding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27278 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:13:25 +00:00
Richard Heck
df475c2002 Add some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27277 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:07:52 +00:00
Richard Heck
b0035f07b1 Fix bug reported by Philippe relating to excluded modules: Excluded
modules need to be removed before anything else is done.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27276 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:01:59 +00:00
Jürgen Spitzmüller
b65ef30b34 * GuiDocument.cpp (formatStrVec):
- module names can have non-ASCII chars.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27274 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 18:37:47 +00:00
Enrico Forestieri
5ec13cc15b Correct include dir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27273 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 18:25:24 +00:00
Jean-Marc Lasgouttes
4e2c8c4f9b Make sure that the contents of the inset uses the buffer language (in order to
avoid the ugly blue line).

Fixes part of http://bugzilla.lyx.org/show_bug.cgi?id=5348


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27267 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 16:40:18 +00:00
Jean-Marc Lasgouttes
0e2ded8161 Fix bug 5407
http://bugzilla.lyx.org/show_bug.cgi?id=5407

This patch makes insetfloat search its styles using "Float:<floatname>" (or
"Float" if this fails). This allows to define a default behaviour for new
floats that makes sense.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27266 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 15:35:02 +00:00
Stefan Schimanski
def9ca797c * style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27265 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 14:07:42 +00:00
Stefan Schimanski
5d9b126c96 * Fix for http://bugzilla.lyx.org/show_bug.cgi?id=5387
Gui is not setup yet when the file is opened from clicking on it in Finder
  with a closed LyX. We have to wait until the batch commands are executed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27264 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 14:04:37 +00:00
Pavel Sanda
1b7ef75ccb Update headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27255 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 22:32:06 +00:00
Jürgen Spitzmüller
05a3f9b3f9 * GuiDocument.cpp:
* add some unicode FIXMEs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27249 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 15:44:02 +00:00
Jürgen Spitzmüller
006f5683e0 * GuiDocument.cpp:
* module names and descriptions might contain non-ASCII chars, so
	  we must use translateIfPossible instead of the native _().
	  Alas, some manual conversion is necessary.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27248 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 15:38:37 +00:00
Richard Heck
727f4b2ee8 Thinko. Fixes bug reported by Philippe Charpentier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27246 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 14:37:53 +00:00
Jürgen Spitzmüller
9d2f8a4c34 * GuiCitation.cpp:
- set initial focus (bug 5448).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 07:27:02 +00:00
Enrico Forestieri
0681cb4e60 Fixbug 5280
http://bugzilla.lyx.org/show_bug.cgi?id=5280


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27244 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 22:59:07 +00:00
Enrico Forestieri
33f0bb6ac3 Fix bug 5216
http://bugzilla.lyx.org/show_bug.cgi?id=5216


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27243 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 22:57:51 +00:00
Jürgen Spitzmüller
a73c6c72dc * InsetInfo.cpp (toolTip):
- use bformat for proper syntactic translatability
	  (the tooltips of this inset look rather weird in generals, though).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27242 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 17:36:28 +00:00
Jean-Marc Lasgouttes
84395acfb5 * insets/InsetText.cpp (addToToc):
* TocBackend.cpp (updateItem): pass option AS_STR_INSETS to asString,
	so that insets get a chance to be displayed in ToC.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27238 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 13:47:12 +00:00
Jürgen Spitzmüller
043c362dab * output_latex.cpp:
- slightly change FIXME comment. This only applies to the newly added condition.
	  The other conditions should be left untouched, even if we find a way to access the TeXRow.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 13:43:33 +00:00
Richard Heck
ff9d8584f9 Fix bug 5436, at least for the time being.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27236 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 13:07:30 +00:00
Jean-Marc Lasgouttes
7356fcd2cf Fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5339
* InsetInfo.cpp (updateInfo): insert the text using inherit_font
	so that there is not an extra \textsf output to LaTeX; change
	"shortcut" to display the first shortcut, not the last (if only
	to be consistent with menus).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27234 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 11:12:52 +00:00
Jean-Marc Lasgouttes
7f61a18d2b Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5421
* GuiKeySymbol.cpp (print): when asked for Portable representation of
	KeySequences, qt outputs Ctrl+x instead of Command-x. Therefore, we 
	we do it by hand.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27233 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:55:50 +00:00
Jean-Marc Lasgouttes
247113c819 revert r27209 (for real)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27231 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:08:01 +00:00
Jean-Marc Lasgouttes
e4dea6c076 oops! r27229 was wrong
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27230 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:03:01 +00:00
Jean-Marc Lasgouttes
24ac7258c5 revert r27209
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27229 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 08:59:03 +00:00
Stefan Schimanski
97740523fe * Fix for http://bugzilla.lyx.org/show_bug.cgi?id=5396
On Mac clicking on a LyX file in Finder might open another GuiView which is
  asked to open the file. The reload logic though closes this and the dispatcher
  will run into a current_view_ which is null (until the other GuiView gets the
  focus again).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27228 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 08:25:59 +00:00
Stefan Schimanski
4040382f46 * fix for r27091: draw the newly created pixmap. The reordering of the code has removed this case. So much about trivial program transformation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 07:40:18 +00:00
Jürgen Spitzmüller
10e05161fb * InsetWrap (updateLabels):
- use master buffer if necessary (fixes bug 5431).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27226 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-02 16:49:48 +00:00