Richard Heck
3cc5a2e800
Use the new put_cmd_in_ert routine in the xymatrix reversion routine.
...
Vincent, can you check (again) that I didn't break this wiht an off by
one error or something?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33916 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:05:21 +00:00
Richard Heck
205feb0704
Introduce a proper form of the put_cmd_in_ert function.
...
Even if this doesn't get used in 2.0, we'll at least have it for later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33915 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:01:41 +00:00
Richard Heck
9f3253a34e
Rename a routine. The new one comes next.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33914 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 16:37:30 +00:00
Richard Heck
7ba836548f
Fix a minor bug in the xymatrix lyx2lyx stuff and make it a bit more
...
pythonic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33913 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 16:29:57 +00:00
Vincent van Ravesteijn
e4b3e9b7bc
Fix the painting I broke in r33909.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33912 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 16:00:49 +00:00
Richard Heck
dfaab2f50d
Remove extra qualifier.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33911 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 15:45:24 +00:00
Vincent van Ravesteijn
0b450f40e7
Refactorization: I don't like nested ?: constructions. Especially not followed by an if statement which is a special case for the deepest level of the nested ?: construction.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33910 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 15:32:45 +00:00
Vincent van Ravesteijn
6a9f44eaa2
Refactorization: Buffer::changed() can update the metrics as well, so we don't have to do it in scrollToCursor if we call Buffer::changed() anyway.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33909 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 15:29:26 +00:00
Vincent van Ravesteijn
71c1ad3517
Fix bug #3900 : Insets painted as hovered without mouse hover.
...
When updating the screen, moving the mouse, or scrolling the buffer, we check whether the hovering status of the insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33908 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 15:21:10 +00:00
Vincent van Ravesteijn
fa0f6cf9be
Allow to assign the shortcut to an action not only if this was an unknown action, but also when it is a no-action.
...
This could be seen by adding a shortcut "Ctrl-R" to accent-acute. Then changing this to "Ctrl-R Ctrl-R". And then changing this back to "Ctrl-R". Now the oldBinding is NOACTION and a warning is issued that "Ctrl-R" was already bound.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33906 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 09:15:27 +00:00
Vincent van Ravesteijn
df1b413587
No need to issue an error if the shortcut binding did not change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33905 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 09:13:00 +00:00
Vincent van Ravesteijn
520709d2bb
Mark the preferences dialog as changed when a shortcut is removed.
...
(Apparently the signal-slot construction does not work when there is also a on_**_pressed() slot?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33903 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 06:54:27 +00:00
Vincent van Ravesteijn
ba22be24b4
Generate previews after buffer reload and clean up old ones from cache.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33901 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 22:41:37 +00:00
Vincent van Ravesteijn
e73c866edf
Squash warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33900 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 22:22:24 +00:00
Pavel Sanda
8af8bb9203
Distribute IP example for this moment too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33899 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 22:19:31 +00:00
Pavel Sanda
268d7ced7e
Few examples for instant preview
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33897 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 21:42:26 +00:00
Pavel Sanda
6a1eb11563
Fix gcc warnings. Vincent, is it correct ploader is unused?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33896 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 20:14:44 +00:00
Pavel Sanda
71cd86c649
Add Preview to ERT context menu
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33895 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 20:12:24 +00:00
Pavel Sanda
d10da20777
xypic.lyx: Update link
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33894 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 19:43:49 +00:00
Vincent van Ravesteijn
81dc517306
Fix bug #6341 : Can't set equal spacing in xymatrix.
...
Fix the file format change that was introduced in r32518.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33893 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 16:29:25 +00:00
Vincent van Ravesteijn
f637c4748d
Update FORMAT file for change in r33891.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33892 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 16:22:17 +00:00
Vincent van Ravesteijn
a4ec2fc8fe
New file format for InsetPreview introduced in r38890.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 14:52:47 +00:00
Vincent van Ravesteijn
bb69584112
Introduce InsetPreview.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 13:47:50 +00:00
Vincent van Ravesteijn
69f46cf1b2
Use LASSERT instead of BOOST_ASSERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33889 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 13:20:57 +00:00
Peter Kümmel
3539495abf
cmake: update readme
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33888 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 12:29:45 +00:00
Peter Kümmel
ff12bc6990
cmake: simplify cmake-gui usage for GNUWIN32
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33887 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 12:18:03 +00:00
Richard Heck
8c115c7185
Whitespace and comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33886 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 02:18:22 +00:00
Richard Heck
9667514c86
Make a couple of important bibliographic phrases translatable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33885 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 02:12:40 +00:00
Richard Heck
60434e6a00
These can just be strings, and will need to be so later.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33884 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 22:51:38 +00:00
Edwin Leuven
2fb72fb906
hopefully fix the (re)sizing of the adv search/replace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 17:37:41 +00:00
Enrico Forestieri
f84a611775
Fix #6618 : RTL (sub)*section after LTR text doesn't compile.
...
When deciding whether to switch encoding or not, the "fragileness" of
the enclosing environment (rather than that of the actual one) should
be taken into account, as we already account for the current "fragility"
by outputting the encoding switch just before switching environment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33882 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 17:29:56 +00:00
Richard Heck
9a98285308
Use rich text in XHTML output, too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33881 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 13:54:50 +00:00
Richard Heck
5696be2a66
Allow the use of rich text in citation formats. And use them in the
...
citaton dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33880 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 13:54:14 +00:00
Richard Heck
206ca45751
This is the first step towards allowing customization of how BibTeX
...
entries are represented, both in LyX and in XHTML output. Try looking at
the InsetCitation dialog and, in particular, at entries that have
crossref fields and you will see the benefit there.
The next step is to allow this stuff to be read from a file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33879 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 12:58:26 +00:00
Pavel Sanda
a59b92769f
Fix part of 6587 - make backup more safe and delete autosave only after closing.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159029.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33878 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 23:15:37 +00:00
Richard Heck
bd3f2308b4
Style, I guess.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33876 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 17:00:07 +00:00
Richard Heck
b4791d97b3
Fix another potential manifestation of bug #6522 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33873 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 16:36:29 +00:00
Edwin Leuven
6d78f80c04
harmonize shortcuts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33872 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 15:09:07 +00:00
Edwin Leuven
b768107db9
adv search/replace: move insert regexp to context menu
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33871 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 14:46:51 +00:00
Vincent van Ravesteijn
1e4ccc2d22
Fix bug #6617 : Allowing "compressed documents" be the default.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33870 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 14:02:56 +00:00
Peter Kümmel
15f850609c
cmake: update Readme
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33869 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 21:37:42 +00:00
Vincent van Ravesteijn
13633b346e
Prevent the ghost index files when the converter cache is either not used or not initialized.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33868 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 18:03:49 +00:00
Edwin Leuven
e7b1808827
simplify adv search/replace layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33867 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 16:57:39 +00:00
Richard Heck
ce5603d445
Better error message. Idea Julien's.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33866 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 15:25:14 +00:00
Richard Heck
07c5726aac
No spaces in configure.py, either. Thanks Julien.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33865 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 14:23:06 +00:00
Richard Heck
1577c83484
Improve yet further the error reporting when we try to load a document
...
class that is unavailable.
In addition, add some explanations about this kind of thing to the User
Guide, to which we can direct the user in the error message. This kind
of question comes up often enough that we need something right up front
about it. It isn't enough to have it in the other manuals.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33864 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 00:44:15 +00:00
Richard Heck
906e55567a
No space here. Makes parsing easier.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33862 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 19:56:29 +00:00
Richard Heck
869f6d33c6
Revert r33852 and try something else. The problem here, which can be
...
seen in branch, too, is that if you change the style combo and then do
anything else, such as click on an entry, the combo reverts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 15:49:06 +00:00
Richard Heck
ffd3b5a6a3
Don't be so picky here.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33857 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 15:08:39 +00:00
Richard Heck
0b5ec3d92e
Use selectedIndex rather than currentIndex. The latter can be invalid if
...
the focus has never gotten here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33856 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 15:01:50 +00:00