Commit Graph

28718 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
fbaba7782a Fix bug #7209: Crash when clicking on unfinished command in math.
This was a similar problem as for bug #5796 in r30807. There I made sure that the position that is used for the context menu is set at mousepress. That was because also the cursor was set at mousepress and we want to get the context menu at the place where the mousebutton was pressed, and not where the mousebutton was released.

However, in this case, the position of the context menu is stored on mousepress, but we don't take into account that the cursor might move afterwards due to the DEPM.

So, the solution is not to save the position of the mouseclick, but to save the name of the context menu we requested.

PS. Perhaps we could save the cursor position, but this seems to work too.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37669 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 21:30:12 +00:00
Joost Verburg
d6d4a80fc6 update info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37668 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 21:26:44 +00:00
Tommaso Cucinotta
8faded55d9 Replaced the Ctrl+Shft+r sequences for entering regexp-mode with [Alt+x]regexp-mode[Ret],
as the shortcut has gone.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37667 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 20:41:46 +00:00
Pavel Sanda
13bb781dcd Give new shortcut for default viewing.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165590.html

Closing #5258.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37666 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 20:31:46 +00:00
Joost Verburg
cc7c0b83f8 updated MiKTeX detection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37664 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:57:24 +00:00
Joost Verburg
05ec5c321a LyXLauncher is no longer used in LyX 2.0. This resolves Windows 7 taskbar issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37663 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:55:01 +00:00
Peter Kümmel
6b24870ab5 fix msvc warning, somehow msvc thinks !line[0] is a boolean
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37662 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:54:04 +00:00
Joost Verburg
e254eec97b Compatibility update for Adobe Reader X. The new pdfview should be used with the updated versions of pdfopen/pdfclose.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37661 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:53:44 +00:00
Stephan Witt
2c7d38a55c #7292 use MetaModifier for AltModifier on mac - alt is used to reach many special symbols, now they are usable for regular text input. Note: with swapped Command/Ctrl keys Ctrl is the MetaModifier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37659 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:41:23 +00:00
Peter Kümmel
898eaf4ac7 cmake: give a hint that it is possible to download 3rd party libs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37658 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:26:33 +00:00
Enrico Forestieri
05491c58cc Also catch the endl manipulator for automatic line counting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37657 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 17:09:39 +00:00
Richard Heck
5d774518c6 Remove obsolete comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37648 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 12:43:56 +00:00
Richard Heck
b7c21b6ac6 More has_key replacements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37647 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 02:30:44 +00:00
Richard Heck
e6ec7bdce5 Simple fixes to get layout2layout working with Python 3. These are all that the 2to3 script reported.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37646 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 02:28:13 +00:00
Richard Heck
50f845e479 Two simple changes for Python 3 compatibility.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37645 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 02:17:50 +00:00
Richard Heck
4a6647d091 Fix bug #7298. Patch from Patrick Atamaniuk. Thanks!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37644 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 01:36:00 +00:00
Enrico Forestieri
46028a6914 Due to the increased accuracy of line counting and registering, when a
latex error occurs inside a table, the exact faulty table row is spotted.
However, if all cells of a table row are output on the same line, lyx is
not able to tell what cell caused the error and highlights the last cell
of the row. This patch allows to output each cell of a table on its own
line, such that the exact point where the error occurred can be highlighted.
Note that this is only done when exporting for preview, and in normal (nice)
exports everything goes as usual.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37643 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 01:02:12 +00:00
Richard Heck
13126b8060 Fix bug #6302: Allow setting of on-screen paragraph indentation when
alignment is LEFT.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37642 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 00:58:44 +00:00
Enrico Forestieri
c6648aaeb9 Complete integration of texrow with otexstream and allow automatic line
counting also when outputting the latex preamble.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37641 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 21:41:44 +00:00
Enrico Forestieri
88bd4b30f2 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37640 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 12:19:12 +00:00
Pavel Sanda
0c47ab6300 * ANNOUNCE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37639 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 11:23:48 +00:00
Pavel Sanda
39f9ca806b cs.po - glitch from Kornel, thanks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37638 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:45:50 +00:00
Pavel Sanda
bf07c755a2 * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37637 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:31:36 +00:00
Pavel Sanda
5051dc37c5 Remerge cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37636 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:31:34 +00:00
Vincent van Ravesteijn
206e0c9656 Add a context menu to InsetBibItem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37635 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:10:28 +00:00
Vincent van Ravesteijn
f6a3b37d18 Do not compile unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37634 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:08:52 +00:00
Vincent van Ravesteijn
5036ca8500 Constify InsetMathNest::setMouseHover and remove the const_cast from BufferView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37632 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:07:00 +00:00
Vincent van Ravesteijn
1b6f1ee810 Remove an include an reorder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37631 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:03:05 +00:00
Vincent van Ravesteijn
77292f028d Remove unimplemented function declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37630 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:02:00 +00:00
Vincent van Ravesteijn
57cc26305a GuiView: Small simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37629 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:00:42 +00:00
Jürgen Spitzmüller
57c5d1e91d * de.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37628 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:00:04 +00:00
Kornel Benko
df5b4d2f76 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37627 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:59:44 +00:00
Vincent van Ravesteijn
a80599aa4d Typos in the comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37626 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:59:14 +00:00
Vincent van Ravesteijn
a5be70af87 GuiWorkArea: coding style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37625 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:58:31 +00:00
Pavel Sanda
dd6e8ba462 * sv.po update from Jim
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37624 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:58:10 +00:00
Vincent van Ravesteijn
1f99db08a9 Correct the return and parameter types to match the type of RenderBase::state_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37623 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:56:54 +00:00
Vincent van Ravesteijn
99ff27e1b8 Fix tabstops in the preference dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37622 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:54:55 +00:00
Vincent van Ravesteijn
8e6e9d3782 Add comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37621 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:49:50 +00:00
Vincent van Ravesteijn
9f21c23633 String tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37620 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:43:06 +00:00
Kornel Benko
8cc4ab2b07 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37619 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:42:36 +00:00
Kornel Benko
33cd1ffb54 Remerge sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37618 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:42:13 +00:00
Vincent van Ravesteijn
bc2dd1c50c Remove unused funcion Inset::scroll().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37617 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:41:13 +00:00
Jürgen Spitzmüller
0489d3c496 Introduce new file format flag "menu=export" to define which document formats the File > Export menu should list. All other formats are available via the "More Formats & Options ..." (former "Custom ...") dialog.
The actual selection of formats needs to be audited.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37616 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:34:10 +00:00
Pavel Sanda
ab8645bc3f Few typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37611 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 01:34:00 +00:00
Pavel Sanda
ed2e6eff49 * sv.po from Jim
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37609 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 01:19:29 +00:00
Enrico Forestieri
38acb44e71 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37608 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-12 23:36:38 +00:00
Enrico Forestieri
a2d1092ecd Trial and error shows that this works for yap (what a poor documentation it has)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37607 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-12 22:54:52 +00:00
Pavel Sanda
399ca3f4c0 * sv.po from Jim Rotmalm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37605 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-12 22:18:20 +00:00
Pavel Sanda
2f572f7a28 Rest of gcc 4.6 issues from Orion Poplawski.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37604 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-12 22:10:56 +00:00
Pavel Sanda
e5677802b2 Fix gcc 4.6 compilation.
If no initializer is specified for an object, and the object is of (possibly
cv-qualified) non-POD class type (or array thereof), the object shall be
default-initialized; if the object is of const-qualified type, the underlying
class type shall have a user-declared default constructor.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37603 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-12 22:08:32 +00:00