Commit Graph

6898 Commits

Author SHA1 Message Date
Peter Kümmel
c54fd8c74a split out common async code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35699 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 09:31:50 +00:00
Peter Kümmel
d3312032ee I assume this was a c&p error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35697 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 08:23:29 +00:00
Peter Kümmel
40d2aed83a prepare splitting out c&p code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35696 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 08:18:56 +00:00
Peter Kümmel
5520817bd3 Use DispatchResult also in GuiView::dispatchVC to handle messages.
Make it possible to suppress messages stored in DispatchResult objects.
BUG: 6417


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35662 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 10:44:53 +00:00
Jürgen Spitzmüller
ee2eabd416 * GuiDelimiter.cpp: disable cut and paste inside the listviews (bug 6942).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35654 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-15 07:12:49 +00:00
Richard Heck
ee7dd4a11e Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35653 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 20:49:34 +00:00
Richard Heck
aa473bb568 Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35652 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 15:04:57 +00:00
Richard Heck
b1df2bd306 Move the screen redraw call out of the selection-setting routine. This
avoids multiple screen redraws in some cases.

If someone knows how to fix the FIXMEs in GuiErrorList and
GuiSpellcheker, I'd really appreciate it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35651 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 15:02:48 +00:00
Richard Heck
3af1fa5abb I am basically trying here to get rid of random calls to
processUpdateFlags. This one is easy.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35650 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 14:47:33 +00:00
Richard Heck
f0833aa774 This is already done by the previous call.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35632 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 18:03:10 +00:00
Richard Heck
6a80ce62ca DispatchResult::update() ==> DispatchResult::screenUpdate()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35631 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 17:28:55 +00:00
Richard Heck
a08ab87d1e Indicate alternative.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35625 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 15:10:57 +00:00
Richard Heck
28bf6a66ac Fix #6948.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35624 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:43:13 +00:00
Richard Heck
01013c0785 Refstyle support. The user can now choose between prettyref and restyle
for formatted references. Fixes #2295, in so far as it makes it possible
to translate formatted references.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:36:53 +00:00
Richard Heck
d4634167cc Get rid of "CharStyle:", "Custom:", and "Element:" prefixes, per a
suggestion of JMarc's. Docs to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 14:46:17 +00:00
Stephan Witt
fd341b3a0e correct typo of button link init of open-from-template dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35574 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:34:48 +00:00
Stephan Witt
1b93af1009 add some tests for LFUN_VC_REVERT and LFUN_VC_REPO_UPDATE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35573 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:30:07 +00:00
Stephan Witt
d87cdfa5e1 #5970 more exact modifier check for Tab keys filter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35571 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:23:59 +00:00
Stephan Witt
4127f57e32 #6796 add sizePolicy to get the size of pushbuttons proper in spell checker and find/replace ui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35544 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-30 06:43:04 +00:00
Stephan Witt
029ac601a8 disable the check box for compound word handling because of missing API for it with apples native spell checker
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35541 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 19:05:28 +00:00
Richard Heck
346f3aa503 Clean up this code a little bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35540 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 13:14:20 +00:00
Richard Heck
5a46224f73 Remove the magic boolean in getChildren() from the public interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35538 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 13:05:57 +00:00
Richard Heck
d07c00032a Simplify some of the find and replace code now, since allRelatives() is
stable and always has the root document at the beginning.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35535 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:50:24 +00:00
Richard Heck
2f1af8892b I prefer this style....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35533 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:19:57 +00:00
Richard Heck
7ff1a60d12 Introduce Buffer::hasChildren() and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35531 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:17:24 +00:00
Richard Heck
2291614a6c Introduce a typedef for vector<Buffer *>. No change in behavior
anticipated.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35529 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 11:55:10 +00:00
Stephan Witt
1a681aaf24 #6917 move forward after adding a word to personal dictionary or the list of ignored words
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35525 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 15:09:06 +00:00
Uwe Stöhr
9fa49ecafa GuiPainter.cpp: correct attempt from r35491
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35498 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-25 14:14:50 +00:00
Edwin Leuven
ad12fa6eb5 correct icon size in math panels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35492 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 12:59:43 +00:00
Pavel Sanda
b1b1e13ad4 My compilator issues warning. Uwe, please check that this was intended.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35491 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 12:26:28 +00:00
Uwe Stöhr
3c9928285a LineUi.ui: Qt's designer use XML as default - revert this from previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35489 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 04:29:07 +00:00
Uwe Stöhr
1557a6f2f9 LineUi.ui: a line has a thickness rather then a height
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35487 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 04:26:13 +00:00
Uwe Stöhr
7aac2c0502 GuiMathMatrix:
- decorated matrices can have horizontal alignment
- remove unused void

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35485 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 03:44:34 +00:00
Pavel Sanda
59ce20acde Add CB for Meta/Control key swap on Mac OS X.
Patch by Jens Noeckel.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg160177.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35453 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-19 22:00:25 +00:00
Uwe Stöhr
5a7328b0bb GuiDocument.cpp: the local layout can be treated as layout file snippet like a module - therefore group it with the module panel in the document settings dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35421 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 01:46:45 +00:00
Uwe Stöhr
6faa1b3713 GuiLine: honor Abdel as author
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35420 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 01:32:23 +00:00
Stephan Witt
dec437fbac add cache of spell checker results to speed up native speller engine on macosx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35362 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-14 05:24:04 +00:00
Uwe Stöhr
cfe3bdbe30 GuiLine.cpp: set default values
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35343 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-11 16:19:24 +00:00
Abdelrazak Younes
379eba512b InsetParamsDialog: set focus to InsetParamsWidget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35341 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-11 08:01:08 +00:00
Abdelrazak Younes
71a350923a GuiLine:
* Add default values: please someone put something sensible here.
* Remove text manipulation for negative values and add a FIXME.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35340 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-11 07:52:06 +00:00
Jean-Marc Lasgouttes
24fcbd6f0c Set url color from system theme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35333 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-09 13:04:02 +00:00
Pavel Sanda
74b9ebf531 Turn on sliding when starting comparison
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35327 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-08 15:12:55 +00:00
Pavel Sanda
22434db502 Switch on CT in comparison result
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35326 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-08 15:09:10 +00:00
Pavel Sanda
59a2c46ae9 Fix part of #6880
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35325 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 19:26:01 +00:00
Pavel Sanda
309caac963 Fix whitespace bug reported by Bennett
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35324 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 19:03:28 +00:00
Pavel Sanda
b3f7326cfe Another glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35321 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 16:05:12 +00:00
Abdelrazak Younes
18b52e7bc5 Migrate GuiLine to InsetParamsWidget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35320 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 14:13:28 +00:00
Abdelrazak Younes
b4b1357b02 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35319 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 14:11:28 +00:00
Pavel Sanda
db1f90a7f8 Ui glitches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35313 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 11:58:42 +00:00
Pavel Sanda
8f457065c5 Better debugging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35311 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 11:29:11 +00:00