Abdelrazak Younes
29c40527e5
Put the foundations to support continuous spell checking.
...
* Font: new misspelled_ member.
* GuiPrefs/PrefSpellchecker: new check box to enable/disable continuous spellcheck.
* LyXRC: new spellcheck_continuously parameter.
* RowPainter: new paintMisspelledMark() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28973 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 19:57:30 +00:00
Abdelrazak Younes
1141ccb997
* rename SpellBase to SpellChecker
...
* make it a pure virtual interface
* delete alive() method as this one is not useful anymore since we killed ispell support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28972 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 19:49:52 +00:00
Uwe Stöhr
882d0a3867
EmbeddedObjects.lyx: fix image file names
...
German UserGuide.lyx: update from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28971 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 17:16:54 +00:00
Kornel Benko
1f582e9490
Adapt to some new configuration strings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28967 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 07:33:54 +00:00
Vincent van Ravesteijn
da242ecd12
Prevent assertion with command 'buffer-switch xxx' in which xxx is not the name of a loaded buffer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28966 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 02:29:15 +00:00
Abdelrazak Younes
966ea2752e
Buffer::nextWord(): simplify a bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28964 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 19:08:38 +00:00
Abdelrazak Younes
1ec0b390f5
Transfer some general code from GuiSpellchecker to Buffer and DocIterator.
...
* Buffer::nextWord(): new method to search for next word.
* DocIterator.cpp: new function isLetter() moved from GuiSpellchecker.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28963 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 19:02:49 +00:00
Abdelrazak Younes
6ae860a59d
Forgot that in previous commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28962 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 17:33:20 +00:00
Abdelrazak Younes
dc1d8af9a2
Painter::wavyHorizontalLine(): new method for inline spellcheck purpose.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28961 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 16:37:28 +00:00
Vincent van Ravesteijn
b2e3355bf5
Preferences dialog fixes:
...
* accelerator clashes,
* missing accelerators, and
* strings (capitalization).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28960 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 13:13:13 +00:00
Jürgen Spitzmüller
5a4e4dec15
Fix bug 5863:
...
* beamer.layout:
* powerdot.layout:
- those provide geometry
* BufferParams.cpp:
* GuiDocument.cpp:
- implement provides("geometry")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28957 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 10:48:16 +00:00
Jürgen Spitzmüller
32875625c8
whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28956 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 10:45:24 +00:00
Jürgen Spitzmüller
98342571db
* postats.py: remove extra blank line at the end of i18n.inc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28954 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 10:03:28 +00:00
Uwe Stöhr
acb9214dee
LyXAction.cpp: fix documentation bug: add-vline-left/right is not allowed for the cases environments and we already correctly check this
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28952 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 01:36:26 +00:00
Richard Heck
ba92863f0a
Whitespace, formatting.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28948 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 17:57:42 +00:00
Vincent van Ravesteijn
7ad28349ab
Fix bug 4935: Scroll down below document
...
http://bugzilla.lyx.org/show_bug.cgi?id=4935
* GuiPrefs: Add an option to the Editing dialog.
* BufferView: Scroll below document if the option is set.
* LyXRC: Write/read the option from preferences file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28947 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 17:41:58 +00:00
Vincent van Ravesteijn
1bbcd403fc
Fix bug 4733: Auto popup of math toolbar hides the math editor
...
http://bugzilla.lyx.org/show_bug.cgi?id=4733
* GuiWorkArea: This adds "buffer_view_->scrollToCursor();" to GuiWorkArea::resizeBufferView() to make sure that the cursor remains visible.
* BufferView: Make sure that we can call the scrollToCursor function without causing a new repaint.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28946 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 17:27:38 +00:00
Vincent van Ravesteijn
2420f5ed1e
Fix bug 4441. GuiRef: Ok button must be default.
...
See also:
http://www.lyx.org/trac/changeset/28784
http://www.lyx.org/trac/changeset/28726
http://bugzilla.lyx.org/show_bug.cgi?id=5695
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28940 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 13:53:01 +00:00
Jürgen Spitzmüller
88421aaeda
Fix bug 5851: Branch definitions not shown in Insert>Branch menu if master is set.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28934 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 11:44:40 +00:00
Jürgen Spitzmüller
5be56b517a
Fix bug 5827 (validate date-insert argument):
...
* src/support/os*.{cpp,h}:
- new function is_valid_strftime that validates strftime arguments,
OS dependant (win32 differs here)
* src/Text3.cpp:
- use is_valid_strftime in LFUN_DATE_INSERT status check.
* src/frontends/qt4/GuiPrefs.{cpp, h}:
- new GUI validator for strftime.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28932 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 11:22:54 +00:00
Jürgen Spitzmüller
e47e1cd751
* PrefPaths.ui:
...
- fix some "buddies" (accelerators).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28931 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 10:27:45 +00:00
Vincent van Ravesteijn
d0b6aebd39
Fix r28909: check for texted.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28927 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 23:08:47 +00:00
Uwe Stöhr
1a74934610
German Intro.lyx: remove reference to Perl
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28926 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 19:10:29 +00:00
Pavel Sanda
cfb86427df
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28922 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 13:31:16 +00:00
Richard Heck
837661a255
Enhance LyX by fixing bug 5872.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28920 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 12:29:54 +00:00
Vincent van Ravesteijn
74741ca5b9
Some cleanup in InsetInclude:
...
* use the UpdateScope, introduced recently, to prevent the 'strange' calls to setParent which also causes the update mechanism to run,
* remove the buffer parameter of loadIfNeeded and all function,
* remove doubled code from getChildBuffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28919 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 00:48:32 +00:00
Uwe Stöhr
d697f88e1b
Spanish Intro.lyx, Shortcuts.lyx: updates from Ignacio
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28918 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 00:22:19 +00:00
Vincent van Ravesteijn
b0d53e3250
Fix bug 5526: screen-recenter LFUN doesn't work
...
http://bugzilla.lyx.org/show_bug.cgi?id=5526
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28916 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 00:09:16 +00:00
Uwe Stöhr
468d30cac5
German Intro.lyx: fix a wrong email address
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28915 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 23:28:00 +00:00
Uwe Stöhr
1a0e2a4c8a
French Intro.lyx: updates from Siegfried
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28913 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 23:22:45 +00:00
Vincent van Ravesteijn
b133fa44ab
Revert cs 28908: wrong fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28911 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 22:40:04 +00:00
Vincent van Ravesteijn
9d1f4a3d98
Fix bug 5435: DEPM doesn't function when leaving an inset
...
http://bugzilla.lyx.org/show_bug.cgi?id=5435
The code for this was already present, but was never reached.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28910 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 21:21:00 +00:00
Vincent van Ravesteijn
7ad10f7403
Fix bug 5434: DEPM not executed for PgUp/PgDown
...
http://bugzilla.lyx.org/show_bug.cgi?id=5434
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28909 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 21:00:34 +00:00
Vincent van Ravesteijn
06cfe568bb
Fill the paragraph metrics cache before checkInsetHit is called and asserts in getPitNearY. LyX asserts when the mouse is over the buffer when it is created. Only trunk and qt4.5 (?)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28908 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 20:40:43 +00:00
Uwe Stöhr
301dc22240
scons_manifest.py: update SCons according to the latest manfile changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28905 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 16:00:40 +00:00
Uwe Stöhr
254ec97f4a
Spanish UserGuide.lyx: updates by Ignacio
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28903 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 15:47:05 +00:00
Uwe Stöhr
f8b67fc2bc
Intro.lyx: some general updates for LyX 1.6.x
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28902 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 15:46:15 +00:00
Richard Heck
b0177410b0
Make LFUN_BUFFER_NEXT and _PREVIOUS skip documents that are open
...
but not shown.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28900 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 14:34:42 +00:00
Vincent van Ravesteijn
08467b3ddc
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28899 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:49:52 +00:00
Richard Heck
9761d953dc
Tooltips for InsetCitation. Please check if this works with RTL.
...
I think it should.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28896 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:23:43 +00:00
Richard Heck
a0e266734d
Cache the location of an InsetInclude's associated Buffer.
...
Abdel says this will be OK. ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28895 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:23:07 +00:00
Richard Heck
d1c255d99d
Whitespace (and a commit check).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28894 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:14:24 +00:00
Abdelrazak Younes
660d86948a
header ordering.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28892 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 08:31:46 +00:00
Kornel Benko
44b15b8cf1
Added unconsidered header files to the list.
...
Globbed the tex2lyx directory to be more robust against changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28890 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 07:02:19 +00:00
Kornel Benko
c313084ef5
Avoid modification of po-files in source tree
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28888 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 06:49:49 +00:00
Lars Gullik Bjønnes
6ac551c508
Capitalize first char in word.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28887 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 02:50:42 +00:00
Lars Gullik Bjønnes
c10c6dd742
Update date
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28886 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 02:38:34 +00:00
Uwe Stöhr
a5361e431c
SConstruct: fix SCons
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28884 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 20:48:46 +00:00
Richard Heck
af68d27725
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28882 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 19:36:37 +00:00
Enrico Forestieri
350e43c482
More Ui tweaks for Qt 4.2.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28879 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 15:14:13 +00:00