Commit Graph

632 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
f38483d441 branch: Fix bug #6237: The boundary has to be set correctly when moving up with a selection. If not, the cursor will remain on the same row when there are two e.g. displayed equations after each other. This will cause an infinite loop when SCREEN_UP is executed.
(I added a small extra safety measure to not change the logic resulting from r31864. I'm not sure it can harm.)

see r31863, r31864.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31880 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 18:08:06 +00:00
Pavel Sanda
59cfb45de0 Backport fix for #3852.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31879 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 16:09:12 +00:00
Jürgen Spitzmüller
c834b4527b * layouts and templates for svmono and svmult, contributed by Koji Yokota (#6253).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31866 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 12:19:21 +00:00
Vincent van Ravesteijn
294247c93a branch: Fix bug #5968: Assertion while reading a document with multiple equation labels.
This is another ad-hoc solution for the problem of a zero buffer pointer while reading a document or when using cut&paste.

This simple solution would be suitable for branch.

see also e.g. r29085, r28319, bug #5688, r31861.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31862 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-05 12:33:59 +00:00
Vincent van Ravesteijn
2c615002b1 branch: Fix bug #6193: Crash when navigating away from an empty super/subscript.
see r31758.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31860 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-04 23:11:03 +00:00
Jürgen Spitzmüller
9c1bd19887 fix bug 6298: impossible to create boxes with a custom width:
* LengthCombo.{cpp,h}:
	- new method to reset the combo to initial state
* GuiBox.cpp (setSpecial):
	- reset width length combo properly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31840 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 15:00:32 +00:00
Jürgen Spitzmüller
f31d83c55b * status.16x: tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31834 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 10:31:25 +00:00
Vincent van Ravesteijn
8b4505cb09 branch: Fix bug #5063: We don't want the combo boxes to adjust to the contents. Also, make the logic exactly the same for all comboboxes.
see r31821.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31833 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 18:53:15 +00:00
Vincent van Ravesteijn
792f7b6299 branch: Fix bug #6292: Ensure the current language is set correctly after dissolving an Inset.
see r31790.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31832 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 17:43:08 +00:00
Vincent van Ravesteijn
be86dbbd39 branch: Fix bug #6297: Use of Fraktur font in boxed equation does not automatically include amssymb.
see r31819.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31831 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 17:36:53 +00:00
Uwe Stöhr
73c245319c status.16x: fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31804 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-30 03:38:33 +00:00
Uwe Stöhr
9f9a1d319c - tufte-handout: new layout
- tufte-book: new layout
- biblioExample.bib: new entry used by the tufte example files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31779 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 22:46:05 +00:00
Vincent van Ravesteijn
b77e72f325 branch: Fix bug #5061. Fix the positioning of the cursor in some cases with mixed RTL and LTR text (bug 5061).Patches from Dov (a long time ago).
see: r30765 and
http://permalink.gmane.org/gmane.editors.lyx.devel/113506
http://permalink.gmane.org/gmane.editors.lyx.devel/113507



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31757 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 00:01:15 +00:00
Vincent van Ravesteijn
a7850e7524 branch: Fix bug #6280: Wrong context menu is opened in an auto-opened inset.
see r31697 and r31728.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31750 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-26 16:55:31 +00:00
Uwe Stöhr
fef96252c1 - UserGuide.lyx: describe the new features
- preview size
  - option for pilcrows

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31742 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-26 01:41:08 +00:00
Vincent van Ravesteijn
ea5e81651a branch: Fix bug 6129: Show paragraph marks / pilcrows.
see r31155, r31157, r31159 and r31168.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31715 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 17:10:48 +00:00
Enrico Forestieri
fe41e57d12 Backport cumulative fix for bug #6284.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31710 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 16:15:29 +00:00
Uwe Stöhr
3bfd4a66c2 ext_copy.py: fix #6234 also for branch as José and Richard gave his OK
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31706 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 15:29:34 +00:00
Vincent van Ravesteijn
4c0db93e40 branch: Fix the painting of the last character of a paragraph. That is either the added/deleted paragraph breaks in change tracking or the to-be introduced pilcrow marks.
see r31154.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31702 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 11:08:00 +00:00
Vincent van Ravesteijn
54fc638382 branch: Do not remember documents for next startup when closing a window but not closing LyX.
see r31148.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31701 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 10:57:29 +00:00
Vincent van Ravesteijn
9610852f65 branch: Fix bug #2972: Static EndLabelStrings were not painted correctly.
see r30962 and r31205.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31700 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 10:32:26 +00:00
Jürgen Spitzmüller
f68a897158 * LaTeXFeatures.cpp:
- do not eat space at the beginning of \lyxadded macro (bug 6282).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31693 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-23 09:04:15 +00:00
Uwe Stöhr
1d35f97d88 Tutorial.lyx: fixes of issues spotted by John Hudson and revision of the document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31690 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-21 03:10:48 +00:00
Uwe Stöhr
41d659ee57 tex2lyx/preamble.cpp: fix two issues:
- when languages are given in the documentclass options _and_ the babel options, babel takes the last language option of the \usepackage call
 - there is no quote language "ngerman", it is in both cases "german"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31688 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-20 20:19:15 +00:00
Enrico Forestieri
a087ee5e44 Restore the master language at the end of an included child document
instead of the child document language.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31678 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-19 15:32:43 +00:00
Jürgen Spitzmüller
23645c803b * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31675 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-19 07:58:07 +00:00
Jürgen Spitzmüller
e84bc5ac73 * add support for jmakeindex (a Japanese index processor)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31660 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-18 16:58:56 +00:00
Jean-Marc Lasgouttes
783b1434ea Fix #6276: tex2lyx fails to import captions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-15 14:09:11 +00:00
Jean-Marc Lasgouttes
64dfd3a7ce Backport r31613:
* add support for \specialsection in amsart; 
 * fix some fonts for better screen rendering



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31636 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-15 13:49:56 +00:00
Pavel Sanda
f1ed78e722 Backport fix for bug #6255.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31620 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 20:05:30 +00:00
Jean-Marc Lasgouttes
e74dc919ed fix the code introduced in r30896 to look for the right files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31610 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-13 15:18:09 +00:00
Jürgen Spitzmüller
0cdc91666d Assure the author is encoded correctly in the LaTeX output of change tracking markup (bug 6225).
Patch reviewed by Jean-Marc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31603 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 16:34:58 +00:00
Jean-Marc Lasgouttes
a8ab4e22e1 backport r31600 (bug #6273)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31601 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 15:50:39 +00:00
Vincent van Ravesteijn
9078a80264 Fix inset-begin and inset-end. Now, if the cursor was at the beginning of a paragraph in the middle of the inset, inset-begin would jump out of the inset.
See r31199.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31599 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 08:28:02 +00:00
Vincent van Ravesteijn
a18553e403 branch: Fix bug #5991: Select function in environments.
C-M-a now selects the contents of an inset, if the whole inset is already selected, it will jump out the inset and selects everything in that inset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31598 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 08:21:32 +00:00
Enrico Forestieri
ee2bbb8d89 Fix bug #6270: Bug in parsing selection as math macro argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31594 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-11 15:37:31 +00:00
Enrico Forestieri
8f2106783f Fix bug #6250: LyX 1.6.4 crashes when copying Japanese text in math to clipboard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31591 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-11 15:26:57 +00:00
Jürgen Spitzmüller
c766c26839 * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31574 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-10 12:02:32 +00:00
Jürgen Spitzmüller
7dc9eab62b * InsetExternal.cpp:
* GuiExternal.cpp:
	- do not crash if the list of external templates is empty (bug #3974).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31570 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-09 12:42:32 +00:00
Jürgen Spitzmüller
41924f48f7 * GuiExternal.cpp:
- do not use invalid index if a template is not found. Fixes crash bug #6259.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-09 12:11:13 +00:00
Enrico Forestieri
a08af1f602 Fix bug #6264: Broken undo of removed script in mathed when both scripts are present.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31559 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-08 14:21:55 +00:00
Pavel Sanda
b574759cf2 Backoport fix for bug #5977 - Make Close button on tabs configurable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31553 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-07 10:02:30 +00:00
Vincent van Ravesteijn
886071393b branch: 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.

see r30797.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31531 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 18:20:55 +00:00
Vincent van Ravesteijn
089945a888 branch: Fix bug #4906: Files always reopened in tabbed window on launch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31529 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 14:53:31 +00:00
Enrico Forestieri
7c4f9dc43b Fix bug #6258: LyX incorrectly interprets tetex warnings as errors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31517 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 16:11:57 +00:00
Jürgen Spitzmüller
68141ce03c * LyXFunc.cpp (reloadBuffer):
- make sure a child is re-allocated to its master after reloading (bug 6233).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 14:24:20 +00:00
Jürgen Spitzmüller
faa2e8ffde * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31509 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 13:02:06 +00:00
Kornel Benko
a7e90261f7 Remark about slovak translation of splash.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31508 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 12:57:11 +00:00
Jürgen Spitzmüller
e215fa5131 * BufferView.cpp (gotoLabel):
- stop iterating over the list of labels after the label was found.
	  This also prevents a crash if the found label is in a child (and the
	  pointers become invalid) [bug 6252].

Trunk already has this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31503 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 10:31:09 +00:00
Pavel Sanda
82ec9f9171 Backport fix for #6194.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31499 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 08:40:01 +00:00