Vincent van Ravesteijn
653e054c06
branch: Fix bug #7106 : iterator out of range while copying multi-row math.
...
see r37108.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37112 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-05 12:56:54 +00:00
Uwe Stöhr
3d4865722e
InsetMathSubstack.cpp: fix #2498 also for branch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37110 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-05 00:21:14 +00:00
Enrico Forestieri
7c588c5b2d
Fix bug #4606 (\varPhi and similar characters not known by the LyX GUI)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37073 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 14:19:15 +00:00
Enrico Forestieri
844d8d0b27
Fix bugs #7174 (Math selection broken)
...
and #7193 (Math macro template painting problem)
No status.16x entry is necessary for #7174 as this fixes a regression
introduced during the 1.6.9svn cycle by the fix for #4889 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37037 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 15:36:35 +00:00
Enrico Forestieri
0fa7d11220
Fix bug #7090 (Segfault in refreshing instant preview when math macro changes)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36873 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 22:25:17 +00:00
Vincent van Ravesteijn
e9807a7e80
branch: Fix bug #4849 : Split cell always enabled in (context) menu.
...
see r36622.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36863 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 11:22:47 +00:00
Georg Baum
9dac2d4ef4
backport fix for #6709
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36797 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 22:17:25 +00:00
Georg Baum
d2d0994cf9
fix bug #7088
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36719 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 16:55:00 +00:00
Enrico Forestieri
867fafeaae
Fix bug #7058 (Crash when invoking CAS on a multiline AMS context)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36527 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 22:54:32 +00:00
Enrico Forestieri
b983c2c5be
Fix bug #7019 (Math labels should not be escaped on saving)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36164 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 15:24:37 +00:00
Enrico Forestieri
295fb6edd7
Fix bug #6965 (Crash editing ERT in math mode)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35903 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 12:38:16 +00:00
Enrico Forestieri
547801393a
Refine fix for bug #6793 such as to avoid the problem reported in #6967 .
...
No status.16x entry is necessary.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35875 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-27 23:21:54 +00:00
Stephan Witt
5e384cbf71
correct enabled check for LFUN_MATH_NUMBER_TOGGLE
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35656 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-15 13:25:48 +00:00
Uwe Stöhr
8af43ca71b
backport the support for the math command \ddddot to branch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35238 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-30 21:47:12 +00:00
Uwe Stöhr
f2b55b5cea
Fix #6872 : correctly support the math command \dddot
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35237 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-30 21:34:19 +00:00
Enrico Forestieri
e52ee7c9ca
Fix bug #6793 : Changing an existing formula type to displayed formula loses the label
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35181 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-20 19:12:45 +00:00
Enrico Forestieri
741adb1ffe
Fix bug #6858 : Crash changing eqnarray with labels to display math
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35170 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-19 08:30:10 +00:00
Enrico Forestieri
352a254bec
Fix bug #6851 : Wrong mode and screen fonts with old style macros such as \bf and \rm.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35157 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 18:37:35 +00:00
Enrico Forestieri
22879bac7a
Fix bug #1337 : LyX confused on $ symbol in math equations
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35066 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-06 21:00:21 +00:00
Peter Kümmel
7251a3a340
workaround for msvc10 stl bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 20:27:26 +00:00
Enrico Forestieri
8f6bd7d27d
Fix bug #6595 : empty last row of matrix or eqnarray vanishes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34767 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-05 18:17:10 +00:00
Vincent van Ravesteijn
5c47aebd52
branch: Fix bug #6787 : CFrac does not require amsmath.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34692 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-24 11:15:25 +00:00
Enrico Forestieri
4ab7fb2a49
Fix bug #6756 : import problem with \ (no space following)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34642 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-10 20:43:16 +00:00
Enrico Forestieri
504bbcbec8
Add GUI support for big delimiters variants without 'l', 'm' or 'r' endings
...
and for '<' and '>' with all variants.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-06 18:38:35 +00:00
Enrico Forestieri
fb63864d7a
Fix bug #6745 : Wrong fonts with \ensuremath
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34584 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-02 00:24:19 +00:00
Enrico Forestieri
c0da660f4b
Fix bug #6729 : Wrong fonts when using \underbar in math.
...
See also r34312.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34582 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 14:19:40 +00:00
Enrico Forestieri
cb3044101e
Fix bug #6739 : Loading in a 1.6.5 file causes 1.6.6-1 to crash
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34580 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 13:34:31 +00:00
Enrico Forestieri
0c71d4fb78
Fix bug #4071 : wrong fonts in math
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34519 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 07:03:09 +00:00
Enrico Forestieri
a7795cf303
Correctly restore a dissolved macro inset on undo (bug #6678 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34454 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-22 17:15:57 +00:00
Enrico Forestieri
7c0bda490e
Change only the shape and not the whole font, otherwise constructs
...
such as \mathbf{\hat{a}} would not be correctly rendered on screen.
No status.16x entry is necessary, as this problem was introduced
by the fix for bug #4565 in r34023.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34304 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-27 10:41:44 +00:00
Pavel Sanda
19b665d987
Squash compiler warning about unused parameter
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34138 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 09:54:26 +00:00
Vincent van Ravesteijn
f292717f5d
branch: Fix bug #6633 : Equations that end in \limits or \nolimits are corrupted on load.
...
see r34025.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34030 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 17:27:10 +00:00
Vincent van Ravesteijn
0982149c00
branch: Correctly paint the background of the instant preview of a displayed equation.
...
For a displayed equation, the height is artificially increased by a displayMargin() in InsetMathHull::metrics if it is a displayed equation and there is a preview.
This extra height is not covered by the preview image and what one can see is the background as drawn by the MathHull inset. The color of this background should be either Color_mathbg or Color_background depending on whether the preview is shown or not.
see r32560.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34029 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 17:18:58 +00:00
Enrico Forestieri
aa2d362dcf
Fix bug #4565 : Using keyboard shortcuts to write Greek letters with an underbar produces LaTeX errors.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34023 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 15:02:46 +00:00
Enrico Forestieri
ab08ae33ca
Fix bug #6581 : Empty base of a script inset should not be shown as an empty brace inset on screen
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33772 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 17:29:24 +00:00
Enrico Forestieri
d616b5215b
Fix bug #3325 : Labels with special characters in equations do not work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33471 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 19:00:17 +00:00
Jürgen Spitzmüller
879272068b
Patch by John McCabe-Dansted to fix bug #6502 :
...
Wrong line count with parent math macros:
* TeXRow.{cpp,h}:
- new helper function to insert multiple newline at once.
* mathed/MacroTable.{cpp,h}:
* mathed/MacroTemplate.{cpp,h}:
- make write() an int, returning number of newlines
* Buffer.cpp (writeLaTeXSource):
- update texrow's newline on parent macro output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33368 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 17:51:15 +00:00
Vincent van Ravesteijn
d37683420c
branch: Fix bug #6489 : Assertion triggered when deleting contents of math ERT. (probably a stdlib assertion).
...
Do not access name_[0] if name_ has size 0.
see r33290 and r33292.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33337 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 01:43:50 +00:00
Enrico Forestieri
64ddb9f47d
Fix bug #2872 : reference in math to label with "underscore"...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33332 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-05 13:33:20 +00:00
Jürgen Spitzmüller
207ca6ccbf
* InsetMathHull.h: constness, as suggested by Abdel.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33242 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 09:15:04 +00:00
Jürgen Spitzmüller
3e330398b1
When pasting a math inset with a label, check for duplicates (as we do outside math)
...
(bug 6218)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33239 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 07:29:57 +00:00
Uwe Stöhr
66ad612769
MathData: fix #6388 also for branch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33103 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 02:10:29 +00:00
Enrico Forestieri
756862c37c
Fix bug #6382 : Wrong cursor placement when inserting math
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32480 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 18:05:12 +00:00
Vincent van Ravesteijn
4b5f45a6b9
Restore the encoding after messing with it in r32418.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 14:18:46 +00:00
Vincent van Ravesteijn
ad291caa99
Correct encoding (Hope it works).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32455 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 13:49:59 +00:00
Vincent van Ravesteijn
e0c1663e39
branch: Fix bug #4360 : Instant preview does not render formulas which contain math-macro from input file.
...
see r32157, r32200, r32352 and r32353.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32418 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 21:56:58 +00:00
Enrico Forestieri
8e8ce41eeb
Fix bug #6351 : Crash when editing the unit on a number
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32214 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-26 13:47:20 +00:00
Vincent van Ravesteijn
feb5aae02b
branch: Fix bug #6310 : Incorrect latex for sparse matrices with vertical lines.
...
see r32145.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32150 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 12:12:16 +00:00
Enrico Forestieri
a70ece44ed
Clarify comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32052 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 14:13:24 +00:00
Enrico Forestieri
5ba1dbb453
Fix bug #6208 : macro crash.
...
The fix consists in not updating the macro while it is being edited,
and this is accomplished by the changes in MathData::updateMacros().
However, when clicking away with the mouse I was getting another crash,
which is cured by the changes in MathMacro::notifyCursorLeaves().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32050 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 13:59:23 +00:00