lyx_mirror/src/mathed
Enrico Forestieri 7365a29fea 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/trunk@32037 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 23:54:45 +00:00
..
BUGS Already done 2009-10-06 14:26:18 +00:00
CommandInset.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
CommandInset.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
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 Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMath.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMath.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathAMSArray.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathAMSArray.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathArray.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathArray.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathBig.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
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 Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathBoldSymbol.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathBox.cpp Initial work on InsetMathBox. This doesn't really work yet, for reasons 2009-11-14 21:11:23 +00:00
InsetMathBox.h Initial work on InsetMathBox. This doesn't really work yet, for reasons 2009-11-14 21:11:23 +00:00
InsetMathBrace.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathBrace.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathCases.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathCases.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathChar.cpp Fix MathML export for < and > special characters. 2009-11-15 21:45:21 +00:00
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 Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathColor.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathComment.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathComment.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathDecoration.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathDecoration.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathDelim.cpp Fix delimiters. 2009-11-14 20:18:32 +00:00
InsetMathDelim.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathDiff.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathDiff.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +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 Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathEnsureMath.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathEnv.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathEnv.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathExFunc.cpp Whoops. Forgot to fix this. 2009-11-14 19:52:06 +00:00
InsetMathExFunc.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathExInt.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathExInt.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathFont.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathFont.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathFontOld.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathFontOld.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathFrac.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathFrac.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathGrid.cpp FIXME 2009-11-14 16:58:32 +00:00
InsetMathGrid.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathHull.cpp Fix silly bit. 2009-11-14 15:55:51 +00:00
InsetMathHull.h Get MathML output for XHTML working a bit. 2009-11-14 15:25:32 +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 Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathLefteqn.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathLim.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathLim.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathMatrix.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
InsetMathMatrix.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathMBox.cpp Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still... 2009-11-08 15:53:21 +00:00
InsetMathMBox.h Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still... 2009-11-08 15:53:21 +00:00
InsetMathNest.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathNest.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathNumber.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
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 more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
InsetMathOverset.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathPar.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathPar.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathPhantom.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathPhantom.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathRef.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathRef.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathRoot.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathRoot.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathScript.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathScript.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathSize.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathSize.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathSpace.cpp MathML for InsetMathSpace. 2009-11-14 21:38:28 +00:00
InsetMathSpace.h MathML for InsetMathSpace. 2009-11-14 21:38:28 +00:00
InsetMathSpecialChar.cpp cosmetics 2008-11-15 12:44:11 +00:00
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 Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathSplit.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathSqrt.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathSqrt.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathStackrel.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathStackrel.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathString.cpp Fix parsing of functions and arguments for MathML. 2009-11-14 20:20:17 +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 Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathSubstack.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathSymbol.cpp Little bit of fixup for math symbols. 2009-11-14 16:21:33 +00:00
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 Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathTabular.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathUnderset.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
InsetMathUnderset.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathUnknown.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
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 Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathXArrow.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathXYArrow.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
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 Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
InsetMathXYMatrix.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
MacroTable.cpp Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
MacroTable.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
MathAtom.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
MathAtom.h Typo. 2009-11-14 23:28:50 +00:00
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 Fix bug #6208: macro crash. 2009-11-15 23:54:45 +00:00
MathData.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
MathExtern.cpp Fix parsing of functions and arguments for MathML. 2009-11-14 20:20:17 +00:00
MathExtern.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
MathFactory.cpp - introduce option to suppress the LaTeX package mhchem, fileformat change 2009-11-11 01:48:07 +00:00
MathFactory.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
MathGridInfo.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
MathMacro.cpp Fix bug #6208: macro crash. 2009-11-15 23:54:45 +00:00
MathMacro.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
MathMacroArgument.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
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 Don't use updateMacros() in the math parser, in order to avoid 2009-11-08 18:47:33 +00:00
MathMacroTemplate.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +00:00
MathParser_flags.h Don't use updateMacros() in the math parser, in order to avoid 2009-11-08 18:47:33 +00:00
MathParser.cpp - introduce option to suppress the LaTeX package mhchem, fileformat change 2009-11-11 01:48:07 +00:00
MathParser.h Make Buffer argument mandatory in most of the InsetMath based class... boring work... 2009-11-08 11:45:46 +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 more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
README
ReplaceData.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
texify
TextPainter.cpp more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00
TextPainter.h more latin1..utf8 schanges. all of src/* should be utf8 now 2008-11-14 15:58:50 +00:00

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/...)