lyx_mirror/src/mathed
Enrico Forestieri a1a34443ef Fix bug #5530: LyX expansion in math-macro overwritten by default one.
This patch initializes the buffer_ member of a MathHull inset in most
(but not all) cases. The problems with buffer_ should be greatly
allievated now, but there still can be some corner case.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31873 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:18:48 +00:00
..
BUGS Already done 2009-10-06 14:26:18 +00:00
CommandInset.cpp
CommandInset.h
InsetFormulaMacro.cpp Catch encoding exception when performing instant preview on an uncodable char (bug 6116). 2009-08-07 05:25:22 +00:00
InsetFormulaMacro.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMath.cpp Catch encoding exception when performing instant preview on an uncodable char (bug 6116). 2009-08-07 05:25:22 +00:00
InsetMath.h Add const versions of Inset::asInsetMath. 2009-08-01 21:39:14 +00:00
InsetMathAMSArray.cpp
InsetMathAMSArray.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathArray.cpp Fix bug #5530: LyX expansion in math-macro overwritten by default one. 2009-11-06 15:18:48 +00:00
InsetMathArray.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathBig.cpp
InsetMathBig.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathBoldSymbol.cpp
InsetMathBoldSymbol.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathBox.cpp Fix bug #6297: Use of Fraktur font in boxed equation does not automatically include amssymb. 2009-11-01 22:16:49 +00:00
InsetMathBox.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathBrace.cpp
InsetMathBrace.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathCases.cpp * InsetMathCases.cpp: 2009-03-17 10:47:55 +00:00
InsetMathCases.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathChar.cpp
InsetMathChar.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathColor.cpp move ColorSet to a header of its own to reduce #include dependencies 2009-02-09 23:30:24 +00:00
InsetMathColor.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathComment.cpp
InsetMathComment.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathDecoration.cpp - fix requirements of \dddot 2009-06-18 20:04:27 +00:00
InsetMathDecoration.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathDelim.cpp
InsetMathDelim.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathDiff.cpp
InsetMathDiff.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathDots.cpp - fix requirements of \dddot 2009-06-18 20:04:27 +00:00
InsetMathDots.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathEnsureMath.cpp
InsetMathEnsureMath.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathEnv.cpp
InsetMathEnv.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathExFunc.cpp
InsetMathExFunc.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathExInt.cpp
InsetMathExInt.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathFont.cpp Fix bugs #6047, #4043, and #5394. 2009-07-03 00:05:58 +00:00
InsetMathFont.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathFontOld.cpp
InsetMathFontOld.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathFrac.cpp InsetMathFrac.cpp: fix the regression now completely 2009-05-25 22:46:51 +00:00
InsetMathFrac.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathGrid.cpp Fix bug #5530: LyX expansion in math-macro overwritten by default one. 2009-11-06 15:18:48 +00:00
InsetMathGrid.h Fix bug #2969: Double labels appear on empty lines of multi-line equations. 2009-07-26 20:25:11 +00:00
InsetMathHull.cpp Fix bug #5530: LyX expansion in math-macro overwritten by default one. 2009-11-06 15:18:48 +00:00
InsetMathHull.h Fix bug #5530: LyX expansion in math-macro overwritten by default one. 2009-11-06 15:18:48 +00:00
InsetMathKern.cpp Fix bug #6246: InsetMathKern is broken 2009-09-27 17:29:01 +00:00
InsetMathKern.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathLefteqn.cpp
InsetMathLefteqn.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathLim.cpp
InsetMathLim.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathMatrix.cpp
InsetMathMatrix.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathMBox.cpp Now that Text knows its owner, use the associated Buffer access. 2009-08-09 15:29:34 +00:00
InsetMathMBox.h General cleanup: Text is (or should be) nothing more than InsetText private implementation. We need access to the owner InsetText property in many cases where we instead take the Paragraph owner inset, which is the same of course. Next step is to avoid this indirection whenever possible. 2009-08-09 15:05:36 +00:00
InsetMathNest.cpp Fix bug #5530: LyX expansion in math-macro overwritten by default one. 2009-11-06 15:18:48 +00:00
InsetMathNest.h Try to implement properly recursive setBuffer. Normally, implmenting 2009-08-03 10:30:34 +00:00
InsetMathNumber.cpp
InsetMathNumber.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathOverset.cpp
InsetMathOverset.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathPar.cpp
InsetMathPar.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathPhantom.cpp
InsetMathPhantom.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathRef.cpp
InsetMathRef.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathRoot.cpp
InsetMathRoot.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathScript.cpp Fix bug #6264: Broken undo of removed script in mathed when both scripts are present. 2009-10-08 12:32:11 +00:00
InsetMathScript.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathSize.cpp
InsetMathSize.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathSpace.cpp allow to use glue lengths in the HSpace dialog; file format change 2009-07-21 11:51:43 +00:00
InsetMathSpace.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathSpecialChar.cpp
InsetMathSpecialChar.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathSplit.cpp
InsetMathSplit.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathSqrt.cpp
InsetMathSqrt.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathStackrel.cpp
InsetMathStackrel.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathString.cpp Catch encoding exception when performing instant preview on an uncodable char (bug 6116). 2009-08-07 05:25:22 +00:00
InsetMathString.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathSubstack.cpp
InsetMathSubstack.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathSymbol.cpp
InsetMathSymbol.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathTabular.cpp
InsetMathTabular.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathUnderset.cpp
InsetMathUnderset.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathUnknown.cpp
InsetMathUnknown.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathXArrow.cpp
InsetMathXArrow.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathXYArrow.cpp
InsetMathXYArrow.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
InsetMathXYMatrix.cpp
InsetMathXYMatrix.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
MacroTable.cpp Catch encoding exception when performing instant preview on an uncodable char (bug 6116). 2009-08-07 05:25:22 +00:00
MacroTable.h
MathAtom.cpp
MathAtom.h
MathAutoCorrect.cpp * MathAutoCorrect: kill compiler warning. 2009-02-08 01:21:54 +00:00
MathAutoCorrect.h * MathAutoCorrect: kill compiler warning. 2009-02-08 01:21:54 +00:00
MathCompletionList.h
MathData.cpp Better fix for bug #5923. Now the macro name can be freely edited. 2009-07-09 15:21:21 +00:00
MathData.h
MathExtern.cpp
MathExtern.h
MathFactory.cpp Fix bugs #6047, #4043, and #5394. 2009-07-03 00:05:58 +00:00
MathFactory.h Introduce a helper function and use it. 2009-04-06 22:12:22 +00:00
MathGridInfo.h
MathMacro.cpp Fix a crash when the modified uncompleted macro is a font changing command. 2009-09-12 21:20:51 +00:00
MathMacro.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
MathMacroArgument.cpp
MathMacroArgument.h Give inset codes to all the math insets, so we get more information when 2009-07-16 19:00:24 +00:00
MathMacroTemplate.cpp Fix bug #5530: LyX expansion in math-macro overwritten by default one. 2009-11-06 15:18:48 +00:00
MathMacroTemplate.h Fix bug #5530: LyX expansion in math-macro overwritten by default one. 2009-11-06 15:18:48 +00:00
MathParser_flags.h Unicode symbols entered or pasted in math are wrapped in \text{} by default. 2009-04-05 01:14:10 +00:00
MathParser.cpp Fix bug #5530: LyX expansion in math-macro overwritten by default one. 2009-11-06 15:18:48 +00:00
MathParser.h Fix bug #5530: LyX expansion in math-macro overwritten by default one. 2009-11-06 15:18:48 +00:00
MathStream.cpp Fix the rest of bug #6284. 2009-10-23 15:00:36 +00:00
MathStream.h Catch encoding exception when performing instant preview on an uncodable char (bug 6116). 2009-08-07 05:25:22 +00:00
MathSupport.cpp Fix bugs #6047, #4043, and #5394. 2009-07-03 00:05:58 +00:00
MathSupport.h
README
ReplaceData.h
texify
TextPainter.cpp
TextPainter.h

Inset 'Xyz' is implemented by 'MathXyzInset' in 'math_xyzinset.[hC]'


Inset hierarchy:

                                   MathInset
                                (abstract base)

                         /            |               \

              Dim                  Char               Symbol, Space, ...
         (thing that need       (for things formerly
          the width_/ascent_     known as characters)
          /descent_ cache)

          /             \

       Nest              Dots,  Func, ...
  (for thing with
   nested content)

        |         \

      Grid        Decoration   Delim   Frac  Macro  Root  Script  Sqrt

      /   \

 Array    Hull
         (base for eqnarray/align/...)