Commit Graph

6304 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
5a5db4e5de A slightly different work-around which also captures the 25% scaling that was reported.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30919 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-08 01:25:17 +00:00
Vincent van Ravesteijn
a43e6129eb Work-around for bug #6034: Applying preferences confuses window about its size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30897 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 12:49:03 +00:00
Vincent van Ravesteijn
31afc053ea Fix bug #740 (part 2): Wish for added menu item: File->Close all.
Now disable the menuitem when there is only 1 visible buffer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30890 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 00:41:39 +00:00
Vincent van Ravesteijn
97efae2561 Fix bug #740: Wish for added menu item: File->Close all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30882 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 23:17:16 +00:00
Richard Heck
a2891daae3 Better name for variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 12:44:06 +00:00
Vincent van Ravesteijn
8e3f8fccfa * PageLayoutUi: Squeeze warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30828 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 13:08:47 +00:00
Vincent van Ravesteijn
ca66ebb1b0 Squeeze warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30820 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 21:49:26 +00:00
Vincent van Ravesteijn
95fb3513ca Remove useless tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30818 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 21:34:24 +00:00
Abdelrazak Younes
28c22d4305 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30815 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 17:34:44 +00:00
Abdelrazak Younes
6b6cb3fe18 Factorize some code in getStatus() for LFUN_DIALOG_SHOW.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30812 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 16:55:15 +00:00
Abdelrazak Younes
a9b2b7f55d Fix an assertion with Inset::buffer():
The "character" dialog is only useful in texted.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30810 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 16:06:02 +00:00
Vincent van Ravesteijn
6e39c317fb Fix bug #5796: Context menu of one inset asks status of another inset.
Store the position for the context menu on mouse press. This is also done in qt but then only on the widget level. 

This avoids that e.g. the edit menu will call getStatus() of math (which causes a crash actually).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30807 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-30 18:12:29 +00:00
Vincent van Ravesteijn
42c622a3e7 * inputMethodQuery: adjust comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30798 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-27 09:48:40 +00:00
Vincent van Ravesteijn
b37146fbd9 Fix bug #6108: Crash on menu key
The wrong context menu is being expanded, because the location where the context menu is requested is computed wrongly by Qt. 

Actually, the problem seemed to be in InputMethodQuery?. For some reason, the box of the cursor is shifted right under the cursor box.

The menu key uses InputMethodQuery? to locate the context menu, just as he Japanese input method locates the box with possibilities.

1.6.x shows the same behaviour, but in that case it doesn't crash because the spellchecker entry does not exist there, but there might be another case in which it will crash.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30797 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-27 07:39:14 +00:00
Vincent van Ravesteijn
fc5dec8da5 Work-around for bug #5957.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30794 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-26 18:00:30 +00:00
Pavel Sanda
9a7c6db6cc /usr/bin/uic -tr lyx::qt_ ui/DelimiterUi.ui -o ui_DelimiterUi.h
'layoutWidget' isn't a valid widget
reported in both 4.5 and 4.1


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30787 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-26 10:43:50 +00:00
Jürgen Spitzmüller
3ec9ac5ff5 * TocWidget.cpp: disable sort option for TOC (bug 5983).
* TocModel.cpp: whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30760 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-24 13:58:02 +00:00
Uwe Stöhr
0b33b9d090 allow to use glue lengths in the HSpace dialog; file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30724 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 11:51:43 +00:00
Jürgen Spitzmüller
64c067f2d1 add tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30723 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 09:38:25 +00:00
Jürgen Spitzmüller
9c33080428 move explanatory text to where it belongs (the tooltip).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30722 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 09:29:19 +00:00
Jürgen Spitzmüller
d794aaf776 * Menus.cpp: casing fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30719 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 08:43:16 +00:00
Uwe Stöhr
efd4f71fbd allow the usage of relative lengths in the HSpace and the VSpace dialog; file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30710 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 11:22:51 +00:00
Jürgen Spitzmüller
c1595f6dd5 * GuiDocument.cpp: "Length" -> "Custom" (the other choices are also lengths).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30707 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 08:14:21 +00:00
Jürgen Spitzmüller
fcc8201d2c Document Dialog: move the listings settings to its own pane.
This shrinks the dialog to a somewhat reasonable size.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30706 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 08:09:32 +00:00
Jürgen Spitzmüller
d3870c25bc * TextLayoutUi.ui:
- fix widget heights (right version this time).
	(maybe it's time to move the listings widget on its own pane?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30705 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 07:20:29 +00:00
Jürgen Spitzmüller
a4b3e6dc60 * TextLayoutUi.ui:
- fix widget heights.
	(maybe it's time to move the listings widget on its own pane?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30704 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 07:17:49 +00:00
Jürgen Spitzmüller
91c0f22e20 * GuiDocument: allow insertion of glue length in parskip widget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30702 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 05:05:48 +00:00
Uwe Stöhr
31f824e447 GuiDocument.cpp: code simplification spotted by Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30701 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 01:34:09 +00:00
Uwe Stöhr
f981863cde TextLayoutUi.ui: fix things spotted by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30700 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 01:26:14 +00:00
Uwe Stöhr
6b970c0339 GuiDocument.cpp: allow to use percent lengths for the paragraph skip separation; file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30696 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 22:08:58 +00:00
Uwe Stöhr
53e7a92494 support to specify the paragraph indentation in the document settings dialog; introduces the new class HSpace; - file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30694 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 21:13:27 +00:00
Jürgen Spitzmüller
3020ec058f * Validator.{cpp, h}:
- add usignedGlueLengthValidator

* GuiVSpace.cpp:
	- re-allow the insertion of glue lengths (regression of the qt4 frontend)
	  (bug 6097)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30692 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 16:53:50 +00:00
Vincent van Ravesteijn
768b216c83 Fix bug #4906: Files always reopened in tabbed window on launch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30690 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 14:34:14 +00:00
Jürgen Spitzmüller
11d3a3b7bc * fix bug 6089.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30667 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-18 13:46:05 +00:00
Richard Heck
277e74ff9c Move these declarations closer to where they are used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30654 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 21:44:19 +00:00
Richard Heck
660b950aa7 Make sure these are the same....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30653 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 21:41:04 +00:00
Richard Heck
4f6f4cf7ab Fix problem noted by Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30652 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 21:36:34 +00:00
Pavel Sanda
f2fd22f132 Close bug #934.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30649 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 17:10:10 +00:00
Richard Heck
375d1526bb React better if we can't find bind files. Related to bug 6076.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30639 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 23:12:45 +00:00
Jean-Marc Lasgouttes
70e6cac727 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 22:29:05 +00:00
Richard Heck
fd8c379545 Fix bug #6076. As said there, other configuration files probably need to be checked.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30636 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 22:24:39 +00:00
Jean-Marc Lasgouttes
41003ea0eb remove some explicit tests against ERT_CODE; more to come
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30625 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 10:08:13 +00:00
Vincent van Ravesteijn
5862b252db Fix the enabling of the custom page size field in GuiDocument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30624 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 08:39:22 +00:00
Vincent van Ravesteijn
0dd2067a8f Fix bug #6070: Width unit cannot be set in tabular dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30622 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 07:47:02 +00:00
Vincent van Ravesteijn
52b1bd4c09 Revert r30390 and r30391. This seemed not to be necessary (bug #4509).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30616 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 01:47:30 +00:00
Jean-Marc Lasgouttes
c4fafe11c9 fix ticket #6081
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30572 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 16:01:55 +00:00
Jean-Marc Lasgouttes
b05a94c3dd Fix again ticket #1720. This got broken during frontend reorganization.
The situation now is almost good, although preference and about LyX are now disabled.

I moved the code that sets buffer to 0 to LyXFunc::getStatus, where it belongs.
I also set lyx_view_ to 0 when the window does not have focus.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30557 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 11:36:08 +00:00
Uwe Stöhr
86fab2cefa TextLayoutUi.ui: group everything into boxes for a consistent layout with the other document settings UI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30555 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 01:40:51 +00:00
Uwe Stöhr
14efd07a82 PageLayoutUi.ui: group everything into boxes for a consistent layout with the other document settings UI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30554 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 01:38:15 +00:00
Uwe Stöhr
b015528fca update author settings for the files I recently notably modified
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30553 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 23:25:47 +00:00
Jürgen Spitzmüller
e6f922009f * Add possibility to append active branch names to the output file name (#3105).
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30546 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 14:30:08 +00:00
Jürgen Spitzmüller
bbfc419c10 Finally make the label color of multiple index entries work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30533 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 06:46:52 +00:00
Uwe Stöhr
8c2d81bc34 MathMatrixUi.ui: proper naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30526 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 22:15:46 +00:00
Uwe Stöhr
802067ecdc support for matrix decoration in the MathMatrix dialog;
introduces a new LFUN and fixes #4620

This can in principle also go to branch when new LFUNs are there allowed, Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30523 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 21:39:21 +00:00
Uwe Stöhr
1da9addbed TabularUi.ui: add and correct a tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30522 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 21:36:02 +00:00
Vincent van Ravesteijn
1bce8f15af Fix the infinite loop when automatically closing the view after a on_lastWorkAreaRemoved() signal was received.
In this case, all workareas are closed, but the tabworkarea still exists.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30521 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 20:42:14 +00:00
Jean-Marc Lasgouttes
0e5695f933 fix another warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30518 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:54:35 +00:00
Jean-Marc Lasgouttes
91d7e3b191 (try 2) fix a couple warnings after the number localization patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30517 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:32:23 +00:00
Jean-Marc Lasgouttes
c355edfb6d revert r30515: too many files there
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30516 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:30:56 +00:00
Jean-Marc Lasgouttes
834bfe5e21 fix a couple warnings after the number localization patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30515 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:28:46 +00:00
Jürgen Spitzmüller
52d9b45b0c Add support for number localization in the GUI (using Qt's locale facilities).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 15:44:26 +00:00
Enrico Forestieri
d2e8e53bb1 Fix bug #6063: Keylogger lyx::lyxbreaker: Crash in Math.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30497 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 10:52:28 +00:00
Jürgen Spitzmüller
1704c727de * GuiBranches.cpp: avoid message after cancel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30487 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 17:29:52 +00:00
Uwe Stöhr
c5f225ce63 TabularUi: follow our naming convention
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30483 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:43:30 +00:00
Uwe Stöhr
8a3a2baf6d - GuiTabular.cpp: longtables cannot have a vertical alignment
- InsetTabular.cpp: write the alignment as last features (to match the existing tex2lyx routines)
- InsetTabular.h: fix indexes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30482 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:33:05 +00:00
Uwe Stöhr
f90d0ca093 TabularUi.ui:
- correct spacing for the border tab
- move break line to group box in longtable tab

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30481 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:00:29 +00:00
Uwe Stöhr
424943af89 - support for longtable alignment, fileformat change
- GUI support for table alignment

(all comments to the polished layout of the table dialog welcome)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30477 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 13:09:45 +00:00
Uwe Stöhr
e48e791465 GuiTabular.cpp: revert r30422 as discussed o the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30472 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 11:10:38 +00:00
Jürgen Spitzmüller
cbce556e0b * GuiDocument.cpp:
- update colors before changing branches.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30471 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 10:53:29 +00:00
Jürgen Spitzmüller
201a22b96f * GuiDocument.cpp:
- clear changedBranches_ cache after branches were changed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30470 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 10:31:32 +00:00
Jürgen Spitzmüller
5c4758357f * GuiDocument.{cpp,h}:
- do not rename branches in the document unless the dialog was applied.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 09:37:28 +00:00
Jürgen Spitzmüller
eab8801afe * GuiBranches.cpp:
* GuiIndices.{cpp,h}: more UI polishment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30462 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 06:29:57 +00:00
Jürgen Spitzmüller
5166030174 * GuiBranches.{cpp,h}: UI polishment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 06:12:27 +00:00
Jürgen Spitzmüller
4762b2168f revert unintended commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 05:38:27 +00:00
Jürgen Spitzmüller
5fdd2daa9c * Add ability to rename branches (bug 4128).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30442 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 06:49:51 +00:00
Edwin Leuven
70a24259f8 continue spellchecking after "replace all"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30438 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 20:03:00 +00:00
Jürgen Spitzmüller
0e6724622f * GuiLog.cpp: don't forget Package warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30432 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:17:40 +00:00
Jürgen Spitzmüller
34c4325570 LogUi.ui: string redundancy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30430 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:06:47 +00:00
Jürgen Spitzmüller
9172018008 LogUi.ui: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30428 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:01:23 +00:00
Uwe Stöhr
4b55ed8202 GuiTabular.cpp: fix #6057
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30422 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 11:17:14 +00:00
Jürgen Spitzmüller
341ac91738 *sigh*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30421 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 11:16:27 +00:00
Jürgen Spitzmüller
17986e7509 Ease the pain with unknown branches:
* on paste, ask if unknown branches shall be added to the branch list
	  (entails new LFUN_BRANCH_ADD)
	* add a list of undefined branches to the buffer and the GUI

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 09:48:34 +00:00
Vincent van Ravesteijn
93feef62b8 Fix bug #5998.
When one document has a split view, closing this document will close two splitters at a time.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30416 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 21:37:37 +00:00
Uwe Stöhr
a165cec754 GuiTabular.cpp: correct a comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30407 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 19:24:07 +00:00
Jürgen Spitzmüller
cf7a54d6ea * NomenclUi.ui: fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30402 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 12:24:23 +00:00
Uwe Stöhr
c5208a21ec NomenclUi.ui: fix #3936 also for the description field of the nomenclature dialog as reported in #6054
OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30401 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 12:06:15 +00:00
Jean-Marc Lasgouttes
73f9991eec Fix #6013: SIGABRT if we spell check inside a math macro, and then hit replace
This is just a matter of checking that we are in an insettext before calling 
replaceSelectionWithString. I guess there are other good ways to fix the crash.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30399 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 10:50:27 +00:00
Jürgen Spitzmüller
bca1c1b92b * PreambleUi.ui:
- fix bug #3936: Paste into preamble gives wrong font size.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30394 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:12:28 +00:00
Vincent van Ravesteijn
5b888f0bc9 Wrong casing...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30391 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 22:14:47 +00:00
Vincent van Ravesteijn
e02afb345a Fix bug #4509: Default focus of SearchUi should be "Find Next".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30390 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 22:11:05 +00:00
Jean-Marc Lasgouttes
5784b88f65 Patch from Ben M.: do not accept key events if we do not know what these keys
stand for.

This fixes bug #6043: Windows multimedia keys intercepted



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30389 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 16:14:20 +00:00
Abdelrazak Younes
b8e5440bef LFUN_WORD_REPLACE: Invert replacement and searched strings in the FuncRequest argument. This is to allow replacement of current word even if it is not selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30360 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 23:02:27 +00:00
Abdelrazak Younes
c95f44b0b1 GuiSpellchecker: add 'Find Next' and 'Replace All' buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30350 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 17:15:27 +00:00
Jürgen Spitzmüller
7664ae5347 * PrefLanguageUi.ui: correct tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30329 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-01 08:26:06 +00:00
Jürgen Spitzmüller
7720592b2d * GuiApplication.cpp (readUiFiles):
- only reset settings if a file with Toolbars has changed. This should significantly decrease
	  the number of circumstances where the settings are lost unnecessarily.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30317 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 11:00:16 +00:00
Vincent van Ravesteijn
c0ac23512e Cosmetics and constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30309 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 23:43:23 +00:00
Jürgen Spitzmüller
2efcbb74d6 * do not change name of QSettings config file on LyX version change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30301 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 08:44:32 +00:00
Abdelrazak Younes
5d40a42f60 Paragraph::collectWords() and MenuDefinition::expandSpellingSuggestions(): reuse Paragraph::spellCheck().
Paragraph::collectWords() now also collects spellchecker suggested words for inline word completion.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30240 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 08:54:21 +00:00
Pavel Sanda
ae9bcc7760 Fix of fix of fix of fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30239 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 08:20:10 +00:00
Abdelrazak Younes
e8d462799c Proper fix for the warning that Pavel noticed. The problem was that the local variable d shadowed the private d one.
And I of course also put back the semi-colon fix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30233 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 22:08:04 +00:00
Abdelrazak Younes
369b0714d6 Crash fix: end of doc check was wrong following previous cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30232 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 21:49:48 +00:00
Pavel Sanda
f9621a5255 http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152311.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30228 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 21:06:00 +00:00
Abdelrazak Younes
14864ab16a Bug fix?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30225 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 20:16:08 +00:00
Abdelrazak Younes
59cd6fd17c Spellchecker: Fix ignore button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30224 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 17:40:09 +00:00
Jürgen Spitzmüller
5a54d11157 * Pop up error dialog if issuing master-buffer-[view|update] and errors occured.
Navigating in such dialogs does not work yet, but at least the user is informed
  at all that LaTeX wasn't succesful.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30209 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-21 12:26:41 +00:00
Jean-Marc Lasgouttes
dae70977a0 get rid of the \use_escape_chars pref, which was not used
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:53:49 +00:00
Jean-Marc Lasgouttes
889fdbd39b get rid of the \use_alt_language pref, which was not used. Instead, we test whether \alt_language is empty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30159 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:31:43 +00:00
Jean-Marc Lasgouttes
c676b24359 prefs \use_personal_dictionary and \personal_dictionary are not used anymore (ispell only)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 13:30:28 +00:00
Jean-Marc Lasgouttes
6b92b1c6ae pref \use_input_encoding is not used anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 10:56:33 +00:00
Jürgen Spitzmüller
0898e385a7 * LogUi.ui: cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30154 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 10:20:20 +00:00
Jürgen Spitzmüller
8e109a4153 * GuiLog.{cpp,h}:
* LogUi.ui:
	- add some basic navigation facilities.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30153 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 09:35:51 +00:00
Pavel Sanda
a45c849f3b Refactorize GuiView::showView.
This way we get rid of pop-uping of widgets when ~/.config/LyX is re-created
and yet we still have title and enabling status correct when widgets are
restored from session.
Some details in bug #5082.

This is candidate for branch too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30144 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 17:22:43 +00:00
Pavel Sanda
65f641ac1d Better fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30143 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 14:33:29 +00:00
Pavel Sanda
bb9721cbd1 Not needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30142 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 14:29:20 +00:00
Jean-Marc Lasgouttes
471e25647f fix crash when pressing Down in command buffer and the history is empty
(reported by John McCabe-Dansted's monkey test)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30107 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 09:08:18 +00:00
Pavel Sanda
4c60c41731 Add missing gui element for autocorrection rc
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147374.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30090 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-13 22:23:19 +00:00
Uwe Stöhr
b2f0d517e2 GuiCitation.cpp: fix #5987
OK also for branch?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30061 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 00:17:13 +00:00
Richard Heck
cde33577df Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30051 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 21:13:41 +00:00
Jean-Marc Lasgouttes
626d14aa54 fix a few compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30032 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-09 13:17:07 +00:00
Jean-Marc Lasgouttes
aeb5d2f1e6 add binding information to toolbar button tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30019 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-08 15:36:32 +00:00
Uwe Stöhr
9dd13b284f unify shortcuts to avoid doubled entries in the po-files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30010 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-07 16:19:40 +00:00
Vincent van Ravesteijn
46dcc4fcd0 Fix bug #5980: 'Maximum last files' setting doesn't go beyond 9.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30009 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-07 15:19:41 +00:00
Enrico Forestieri
3e18652f8e Fix doubling of bibtex and index alternatives everytime preferences are saved.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29876 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 12:49:41 +00:00
Jean-Marc Lasgouttes
864773d7d9 Allow literate documents other than noweb to work out of the box. Currently
only sweave is supported (for building documentation, not programs).

Layout files allow a new OutputFormat tag 

Modules can be conditionned on a feature of the type from->to, indicating that
it should be possible to convert from format 'from' to format 'to'.

Layout format incremented to 15.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 08:59:25 +00:00
Enrico Forestieri
6c7cbfa7a1 Don't write a \bibtex_command to the preferences file if not needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29871 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 00:25:40 +00:00
Enrico Forestieri
c0127e8ede Fix the bogus "bibtex" option for the bibtex command in preferences.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29870 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 22:24:05 +00:00
Vincent van Ravesteijn
25f946f19d Remove black box around GuiWorkarea? which is visible with Qt4.5.
Now also when returning from full-screen mode.

see r28747.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29861 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 22:37:14 +00:00
Enrico Forestieri
fe82ab8c5d Fix PrintNomenclUi.ui as uic 4.2.3 says it is not valid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29860 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 22:02:51 +00:00
André Pönitz
d5e1b377d3 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29859 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 21:52:57 +00:00
André Pönitz
e582d149d4 Introduce an option to keep the menubar visible in full screen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 21:41:45 +00:00
André Pönitz
e5b3cdf650 constify GuiPrintNomencl::isValid()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29852 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 16:19:03 +00:00
Pavel Sanda
3d475e5b44 Leftover
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29822 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 12:52:23 +00:00
Pavel Sanda
b7ca24d637 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29818 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:48:30 +00:00
Pavel Sanda
99da022d51 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29817 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:48:22 +00:00
Pavel Sanda
a2b1d2bed9 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29816 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:52 +00:00
Pavel Sanda
46ef6b0e48 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29815 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:50 +00:00
Pavel Sanda
3389ded11b Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29814 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:47 +00:00
Pavel Sanda
884c682a27 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29813 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:15:24 +00:00
Pavel Sanda
950522d95a Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29812 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:15:18 +00:00
Pavel Sanda
666bf1a261 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29811 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:47:20 +00:00
Pavel Sanda
079ef62651 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29810 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:40:44 +00:00
Pavel Sanda
db0d8a1131 Another camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29809 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:28:33 +00:00
Pavel Sanda
adbc064959 Camelize another slot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29808 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:06:50 +00:00
Jürgen Spitzmüller
660ce9aab6 stickToCodingConventions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29807 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 08:01:38 +00:00
Jürgen Spitzmüller
0227cef5bd * GuiParagraph.{cpp, h}:
- fix enabling/disabling of "Longest Label" widget.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29806 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 07:45:46 +00:00
Jürgen Spitzmüller
4136ee80db GuiPrintNomencl: More descriptive UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29803 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 05:30:01 +00:00
Pavel Sanda
64d96bc099 Please Juergen wrt #5307
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29791 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 21:35:18 +00:00
Jürgen Spitzmüller
0e69c68f71 Tooltip and label changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29786 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 17:52:20 +00:00
Jürgen Spitzmüller
c881b9f49a GuiPrintNomencl.{cpp,h}:
- custom without length is not valid.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29785 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 17:35:50 +00:00
Jürgen Spitzmüller
9d02de79d8 forgot to add these files in r29779.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29784 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 17:17:45 +00:00
Jürgen Spitzmüller
0599991454 reorder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29783 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:41:20 +00:00
Jürgen Spitzmüller
8dbb980a91 reorder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29781 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:35:11 +00:00
Jürgen Spitzmüller
e9cbe2f80f A GUI for nomencl settings. Adds the possibility to enter a custom length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29779 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:26:15 +00:00
Jürgen Spitzmüller
9f48cc9137 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29778 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:00:29 +00:00
Jürgen Spitzmüller
7ba2bfb81d * Per-document setting for bibtex and makeindex.
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29774 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 07:20:00 +00:00
Uwe Stöhr
8f3acbb484 remove unused includes of convert.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29772 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 21:02:14 +00:00
Vincent van Ravesteijn
60b26d1aac Fix the copy label as ref for equations from the context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29754 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 23:58:29 +00:00
Pavel Sanda
8059f0a895 Fix bug http://www.lyx.org/trac/ticket/5307
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29751 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 20:00:31 +00:00
Vincent van Ravesteijn
7ff6379445 Fix a few enable/disable problems for longtables:
- set header, set first-header-empty, unset first-header-empty,
- set header, set first-header-empty, unset header

The same also for footers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29716 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 18:27:39 +00:00
Enrico Forestieri
9d2a11fa46 Correct typo (his -> this).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29711 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 11:36:16 +00:00
Jürgen Spitzmüller
eb2dc6d0b3 formatting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29708 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 09:36:07 +00:00
Vincent van Ravesteijn
54bb684f30 Fix bug #3918: Toggle outline button update when clicking x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29673 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 23:46:42 +00:00
Jean-Marc Lasgouttes
188333b8cb headers cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29664 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 09:20:58 +00:00
Vincent van Ravesteijn
7ed6d9c3f1 Compile fix & whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29660 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:43:01 +00:00
Uwe Stöhr
152b32684d GuiView.cpp, LyXAction.cpp: sort entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29659 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:37:18 +00:00
Vincent van Ravesteijn
0a5cb3674c Restore the possibility to call insert-plaintext without argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29643 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 18:41:08 +00:00
Jean-Marc Lasgouttes
b71cd66384 remove duplicated (and probably not really correct) code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29639 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 07:12:25 +00:00
Vincent van Ravesteijn
7083f02b1d Prevent two more assertions due to non-absolute filename as a parameter of file-insert-plaintext.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29638 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 00:15:16 +00:00
Vincent van Ravesteijn
d931c7d992 Prevent assertion due to non-absolute filename as a parameter of buffer-switch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 23:53:50 +00:00
Vincent van Ravesteijn
99dc01f79b Fix bug #5458 (try 2): File reopens at LyX-start even though it was closed in previous session.
We should of course clear the list before closing each of the views. Otherwise, the second view will remove the files from the first view from the list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29596 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 19:59:53 +00:00
Vincent van Ravesteijn
19502b9035 Fix bug #5458: File reopens at LyX-start even though it was closed in previous session.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29595 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 19:41:48 +00:00
Jürgen Spitzmüller
d0fee6a49f * remove last traces of external thesaurus library and actually enable included MyThes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29580 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 08:23:49 +00:00
Jürgen Spitzmüller
48f36f59e7 * configure.py:
- add new method that records all available alternative programs
	  as opposed to only the first found one.

* LyXRC[cpp,h}:
* LyXFunc.cpp:
	- new RCs \bibtex_alternatives and \index_alternatives, holding
	  alternative processors.

* GuiPrefs.{cpp, h}:
* PrefLatexUi.ui:
	- UI to select from a list of preconfigures bibliography/index processors.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 10:07:32 +00:00
Abdelrazak Younes
73b48c22e5 Squash gcc warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29560 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 12:40:35 +00:00
Abdelrazak Younes
47aca38a5e SpellChecker context menu. Part of the continuous SpellChecker project.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29556 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 23:39:17 +00:00
Vincent van Ravesteijn
d1e3d75da2 Fix bug #5131: Remember last file active.
A bool is added to the entry of a last opened file in the Session file. This bool, indicates whether the file was the last one being edited.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29546 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 12:47:44 +00:00
Pavel Sanda
6fde8f8067 Introduce double underline and wavy underline styles from ulem
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150803.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29542 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 09:26:28 +00:00
Pavel Sanda
c4af79abf3 comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29541 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 06:24:43 +00:00
Pavel Sanda
9d5d4ec64f Commetin forgotten part of r29532 reversal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29540 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 06:22:55 +00:00
Vincent van Ravesteijn
4b8376bbb3 Revert r29532 and do something less risky.
Now, the tabs are closed in reverse order, which is aesthetically better. Consequently, we have to open the files (read from the session file) also in reverse order.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29539 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 23:22:06 +00:00
Vincent van Ravesteijn
9ba69f3f1b Aesthetics: Hide the tabbar when closing all windows one-by-one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29532 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 11:53:34 +00:00
Vincent van Ravesteijn
0842e988e7 Correct indentation. This was postponed from the previous commit r29530 for clarity.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29531 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 11:50:55 +00:00
Vincent van Ravesteijn
2b21cd2f4e Fix bug #5001: Tab order not preserved when starting lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29530 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 11:48:23 +00:00
Pavel Sanda
168ceb8763 Qt 4.5 Christmas part 2
Now menu works smoothly in fullscreen under linux too

http://www.lyx.org/trac/ticket/4888



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29527 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 23:33:39 +00:00
Pavel Sanda
381b86788d Introduce strikeout text style (strike-through)
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150743.html

Somewhat related to http://www.lyx.org/trac/ticket/4248 .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29523 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 22:45:14 +00:00
Vincent van Ravesteijn
7bf0d804e7 Add "Select Section" to outliner context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29520 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 19:16:00 +00:00
Vincent van Ravesteijn
f4c0f80857 Add outline-in/out/up/down to the outline context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29516 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 16:06:00 +00:00
Pavel Sanda
f9158fcd8d Fix warning of citation dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29515 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 15:33:12 +00:00
Vincent van Ravesteijn
17af255396 Prevent warning when pressing OKAY while the dialog is in AUTOAPPLY_INITIAL state (GuiCharacter).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29514 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 15:27:47 +00:00
Pavel Sanda
3f90a0339c Small glitch in CharacterUi.ui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29510 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 12:23:49 +00:00
Vincent van Ravesteijn
aa4c7e7ef5 Fix bug #5879 (try 2): Move the autosave file of a buffer when the filename changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29507 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 10:21:21 +00:00
Jürgen Spitzmüller
5c27b8400e indices -> indexes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29496 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 15:54:45 +00:00
Pavel Sanda
e06984bc42 Remove the corner button too
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150647.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29492 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 12:43:45 +00:00
Pavel Sanda
3da9c20456 Use Qt native close button on tabbar.
Fixes http://www.lyx.org/trac/ticket/3724


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29491 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 12:43:42 +00:00
Jürgen Spitzmüller
e032cd934d * add all available formats to view/update others popup icon (bug 5380)
patch contributed by Georg.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29490 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 08:43:22 +00:00
Vincent van Ravesteijn
69d2e076dc Add accept/reject change to the context menu of the toc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29480 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 17:55:26 +00:00
Vincent van Ravesteijn
61e32e1c25 Fix some toc ui glitches:
- revert r26360, because this causes irritating flickering, and reset the slider in updateView instead,

- disable also the sort checkbox and the slider when the list and combobox are disabled,

- disable the keep checkbox when the type is not navigatable, as it doesn't make sense to keep something that won't change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29477 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 16:03:06 +00:00
Abdelrazak Younes
695385374f Fix assertion on Ctrl-N with Qt4.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29473 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 13:11:22 +00:00
Pavel Sanda
477d0aa004 Disambiguate call for monolithic build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29424 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 11:56:13 +00:00
Jürgen Spitzmüller
dd930b4535 * final splitindex feature addition: support for \printindex* and \printsubindex*
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 06:10:25 +00:00
Jürgen Spitzmüller
0bd5c5fca8 * Add support for splitindex's \printsubindex command. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29409 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 11:24:38 +00:00
Abdelrazak Younes
3a502dfbec Simple fix for bug 4464
http://www.lyx.org/trac/ticket/4464

Thanks to Vincent for showing the way.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29394 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-24 21:04:51 +00:00
Vincent van Ravesteijn
b44f8eb2ef * cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29378 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:17:49 +00:00
Vincent van Ravesteijn
96174d2d66 Fix bug that you can't change Info insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:16:51 +00:00
Pavel Sanda
3ea345b90f Patch from Edwin - spellcheck typos.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150327.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29365 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-21 21:06:21 +00:00
Vincent van Ravesteijn
4e685e3565 Fix bug #5758: Crash when closing the dosbox from which LyX was started
The wmf_mime_ object was deleted both when deleting GuiApplication::Private as from 
QWindowsMimeList::~QWindowsMimeList().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29326 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 13:43:00 +00:00
Jürgen Spitzmüller
8d97f1c6d2 * ToggleWarningUi.ui:
- string change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29325 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 12:30:19 +00:00
Jürgen Spitzmüller
605f6bebf2 Implement a warning dialog with a "Do not show this warning again!" checkbox.
Since Qt does not provide this, we have to roll our own dialog.
Hidden warnings are stored in sessions.

The dialog is currently only used in the case where an included file
has a different textclass then the master (bug 3218).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29324 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 11:57:52 +00:00
Abdelrazak Younes
ef5f53017a transform the SpellChecker gui into a dock widget.
This commit introduces a new way to use the ui file in a more transparent way with regards to header inclusion.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29322 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 08:57:43 +00:00
Vincent van Ravesteijn
ee4e7db35e Add context menus to the toc for child-documents, listings and indices.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29319 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 18:53:39 +00:00
Jürgen Spitzmüller
051a50439d remember the last selection on the view/update popup button.
This introduces a new "sticky" popup button.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29309 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 10:44:44 +00:00
Jürgen Spitzmüller
d12426a340 New inset dialog for InsetPrintIndex (only used with multiple indices)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 14:29:32 +00:00
Jürgen Spitzmüller
de22184d97 New inset dialog for InsetIndex (only used with multiple indices)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29285 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 09:22:44 +00:00
Jürgen Spitzmüller
c090147654 * BrnachUi.ui: minor tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29284 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 09:18:51 +00:00
Jürgen Spitzmüller
c9a0462954 * GuiBranch.cpp: remove duplicated include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29277 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 07:47:09 +00:00
Jürgen Spitzmüller
c52bd08442 Introduce splitindex support. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:29:01 +00:00
Jürgen Spitzmüller
bdc31723cc * GuiPrefs: revert unintended parts of previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29253 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 06:51:19 +00:00
Jürgen Spitzmüller
fe41f206bd * GuiPrefs: fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29252 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 06:43:43 +00:00
Jürgen Spitzmüller
26b361417d * Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex)
from the standard LaTeX programs.
  These programs are only used now if the document actually uses Japanese, not always if they are found.
  (bug 5601 a.o.).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29238 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 09:53:40 +00:00
Pavel Sanda
a6145ac4cd next attempt for PageLayoutUi
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29237 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 09:28:34 +00:00
Uwe Stöhr
d109eb6984 PageLayoutUi.ui: correct space between buttons and remove some strange three dots
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29236 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 01:35:55 +00:00
Pavel Sanda
d6819bf658 Next ui tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29232 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 14:25:51 +00:00
Uwe Stöhr
7acab93ad1 PageLayoutUi.ui: add tooltip for the new push button
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29231 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 13:19:11 +00:00
Pavel Sanda
0f77509d23 Correct naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29230 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 12:56:38 +00:00
Pavel Sanda
a9ffac3052 add tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29229 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 12:46:14 +00:00
Pavel Sanda
aed0adea18 Change button type for proper color in linux
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29228 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 12:40:25 +00:00
Pavel Sanda
88f32018f7 Fix background of color dialog
(inherit from dialog and not button for which we changed stylesheet)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29227 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 12:33:35 +00:00
Vincent van Ravesteijn
91a6ac3457 Please Andre'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29224 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 10:11:54 +00:00
Vincent van Ravesteijn
91bcc5cdce Cosmetics for r29220.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29223 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 09:13:46 +00:00
Uwe Stöhr
ed69577fa3 GuiDocument.cpp: remove unneeded conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29222 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 00:43:05 +00:00
Uwe Stöhr
5f981cdd48 GuiDocument.cpp: fix whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29221 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 00:37:25 +00:00
Uwe Stöhr
4d30bc7579 support for \pagecolor, fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29220 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 21:40:11 +00:00
Vincent van Ravesteijn
c1dce34f53 Enable dialogs that can apply for read-only documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29217 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 18:34:03 +00:00
Vincent van Ravesteijn
86392456e8 Implement the getStatus mechanism for the context menu of the toc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29200 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 11:43:13 +00:00
Jürgen Spitzmüller
6974c65ed4 * GuiDocument.cpp:
- reintroduce prefix to fix gcc warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29196 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 06:52:55 +00:00
Uwe Stöhr
c841f96691 GuiDocument.cpp: remove unneeded prefix since we are there already in namespace lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29195 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 00:59:13 +00:00
Vincent van Ravesteijn
61dffbdbcf Fix qt assertion when requesting settings dialog of an InsetPhantom.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29189 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 17:15:02 +00:00
Jürgen Spitzmüller
a7d719fbac * GuiDocument.cpp:
- minor xetex UI tweaks.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29188 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 14:39:22 +00:00
Vincent van Ravesteijn
3c0755b572 * compile_uic.sh: Add OutputUi.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29185 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 12:43:35 +00:00
Jürgen Spitzmüller
823e44822e * remove outdated RC_CUSTOM_EXPORT_COMMAND and RC_CUSTOM_EXPORT_FORMAT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29183 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 11:11:14 +00:00
Jürgen Spitzmüller
60d2b3295a * new per-document default output format. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29181 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 11:06:53 +00:00
Vincent van Ravesteijn
4b6a802398 Add context menus to the Toc for labels(settings), branches, graphics, citations, figures, tables.
This is now possible because we can dispatch all the necessary LFUNs to the insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29177 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 00:42:24 +00:00
Pavel Sanda
d47e87f92f Compil fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29172 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 23:36:34 +00:00
Vincent van Ravesteijn
80ee77ff85 TOC context menu (part 4)
* TocWidget: Relay the LFUNs to the appropriate inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29165 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 18:51:07 +00:00
Vincent van Ravesteijn
2cd997962c Leave handling of LFUN_COPY_LABEL_AS_REF to InsetLabel and move handling of LFUN_INSERT_LABEL_AS_REF also to InsetLabel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29163 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 18:31:17 +00:00
Vincent van Ravesteijn
49fb2980eb TOC context menu (part 3)
* TocWidget: Deconstify cur in doDispatch because I need a non-const Cursor when dispatching to Insets.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29162 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 18:24:28 +00:00
Vincent van Ravesteijn
df3cddcd37 Add "Insert label as reference" to the context menu of the TOC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29157 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 22:03:28 +00:00
Vincent van Ravesteijn
695870771f Add "Copy label as reference" to context menu of the TOC.
(Note: it is not perfect yet for references in the same model as the labels).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 21:40:42 +00:00
Vincent van Ravesteijn
a465fcb55e TOC context menu (part 2)
* TocWidget: add context menu to toc.

* Menus: specify origin of cmd.

* GuiView: if cmd coming from toc, dispatch to GuiToc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 21:06:58 +00:00
Vincent van Ravesteijn
f7f24a2709 TOC context menu (part 1): Only scroll the document to the item when the user left-clicks on the item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29154 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 17:39:14 +00:00