lyx_mirror/src/mathed
Enrico Forestieri 6d425078a7 When an error occurs, don't highlight more than necessary.
Currently, if an inset outputs a newline, the new latex row is still
associated with a previous id/pos. Now, if a latex error occurs before
this newline, we would still highlight everything associated to that
id/pos, even if it is extraneous to the error.
This is avoided by associating the new latex row with the id/pos in
effect right before entering the inset. If an inset does not output
a newline, it is not excluded from the selection, consistent with the
fact that the text of the inset does appear in the error description.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37903 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-12 01:40:01 +00:00
..
BUGS
CommandInset.cpp remove unused include of FuncRequest 2010-08-24 03:07:09 +00:00
CommandInset.h
InsetFormulaMacro.cpp Integrate texrow with otexstream in order to perform automatic line 2011-02-10 20:02:48 +00:00
InsetFormulaMacro.h Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
InsetMath.cpp The beginnings of pure HTML output of math, for our internal XHTML 2010-03-29 22:52:13 +00:00
InsetMath.h Proper implementatiom of isInToc() 2010-10-26 01:10:19 +00:00
InsetMathAMSArray.cpp Make members of FuncRequest private, per the FIXME there. Again, this is 2010-04-09 19:00:42 +00:00
InsetMathAMSArray.h Comment. 2010-07-29 14:29:54 +00:00
InsetMathArray.cpp
InsetMathArray.h
InsetMathBig.cpp The delimiters '<' and '>' can also be used as big delimiters. They are 2010-06-06 18:11:15 +00:00
InsetMathBig.h InsetMathBig via HTML. 2010-03-30 02:04:07 +00:00
InsetMathBoldSymbol.cpp Bold symbols via HTML. 2010-03-30 02:05:49 +00:00
InsetMathBoldSymbol.h Bold symbols via HTML. 2010-03-30 02:05:49 +00:00
InsetMathBox.cpp Fix up the math stream. 2010-03-31 18:57:37 +00:00
InsetMathBox.h HTML for math boxes. 2010-03-30 02:37:05 +00:00
InsetMathBrace.cpp HTML for InsetMathBrace. 2010-03-30 02:40:32 +00:00
InsetMathBrace.h HTML for InsetMathBrace. 2010-03-30 02:40:32 +00:00
InsetMathCases.cpp Make members of FuncRequest private, per the FIXME there. Again, this is 2010-04-09 19:00:42 +00:00
InsetMathCases.h Cases for HTML. 2010-03-30 02:57:05 +00:00
InsetMathChar.cpp Fix math char stuff. 2010-03-30 00:18:08 +00:00
InsetMathChar.h Simple characters. 2010-03-29 23:03:37 +00:00
InsetMathColor.cpp
InsetMathColor.h HTML for comments and colors. 2010-03-30 17:24:22 +00:00
InsetMathComment.cpp Fix bug #6759. Thanks to Vincent. 2010-06-09 17:02:55 +00:00
InsetMathComment.h HTML for comments and colors. 2010-03-30 17:24:22 +00:00
InsetMathDecoration.cpp Changing only the shape does not always work. For example, 2010-04-27 21:31:28 +00:00
InsetMathDecoration.h Fix bug #4565: Using keyboard shortcuts to write Greek letters with an underbar produces LaTeX errors. 2010-03-31 01:09:38 +00:00
InsetMathDelim.cpp Do the obvious thing with delimiters. 2010-03-30 22:07:05 +00:00
InsetMathDelim.h Do the obvious thing with delimiters. 2010-03-30 22:07:05 +00:00
InsetMathDiagram.cpp Add support for feyn package and Diagram inset. 2010-09-19 22:12:06 +00:00
InsetMathDiagram.h Remove unimplemented function declaration. 2011-02-13 10:02:00 +00:00
InsetMathDiff.cpp
InsetMathDiff.h
InsetMathDots.cpp HTML for dots. 2010-03-30 22:14:00 +00:00
InsetMathDots.h HTML for dots. 2010-03-30 22:14:00 +00:00
InsetMathEnsureMath.cpp Index: src/mathed/InsetMathEnsureMath.cpp 2010-04-28 01:58:11 +00:00
InsetMathEnsureMath.h
InsetMathEnv.cpp
InsetMathEnv.h
InsetMathExFunc.cpp Revert r33989. We do need this. 2010-03-31 21:02:10 +00:00
InsetMathExFunc.h Revert r33989. We do need this. 2010-03-31 21:02:10 +00:00
InsetMathExInt.cpp Integrals via HTML. 2010-03-30 22:51:02 +00:00
InsetMathExInt.h Integrals via HTML. 2010-03-30 22:51:02 +00:00
InsetMathFont.cpp support for formal math script 2010-07-17 15:51:11 +00:00
InsetMathFont.h HTML for math fonts. 2010-03-31 18:57:47 +00:00
InsetMathFontOld.cpp Better fix for bug #6851. 2010-08-14 17:57:06 +00:00
InsetMathFontOld.h Better fix for bug #6851. 2010-08-14 17:57:06 +00:00
InsetMathFrac.cpp Cosmetics, typos and comments. 2010-11-25 16:53:56 +00:00
InsetMathFrac.h HTML for binomials. 2010-03-31 21:33:33 +00:00
InsetMathGrid.cpp Fix bug #7106: iterator out of range while copying multi-row math. 2011-01-04 19:43:52 +00:00
InsetMathGrid.h Load mhchem if it is requested unconditionally, fix some typos 2010-11-21 18:07:04 +00:00
InsetMathHull.cpp Integrate texrow with otexstream in order to perform automatic line 2011-02-10 20:02:48 +00:00
InsetMathHull.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetMathKern.cpp
InsetMathKern.h Ignore kerning in HTML. 2010-03-31 18:59:04 +00:00
InsetMathLefteqn.cpp
InsetMathLefteqn.h
InsetMathLim.cpp We do not need to extract limits for MathML. 2010-01-21 21:01:51 +00:00
InsetMathLim.h We do not need to extract limits for MathML. 2010-01-21 21:01:51 +00:00
InsetMathMatrix.cpp Matrix output via HTML. I have to say, this one took some work. 2010-03-31 19:59:09 +00:00
InsetMathMatrix.h Change semantics of two-arg htmlize to make more consistent with other 2010-03-31 19:17:06 +00:00
InsetMathMBox.cpp Integrate texrow with otexstream in order to perform automatic line 2011-02-10 20:02:48 +00:00
InsetMathMBox.h compile. 2011-02-10 22:57:41 +00:00
InsetMathNest.cpp When an error occurs, don't highlight more than necessary. 2011-03-12 01:40:01 +00:00
InsetMathNest.h Constify InsetMathNest::setMouseHover and remove the const_cast from BufferView. 2011-02-13 10:07:00 +00:00
InsetMathNumber.cpp HTML for numbers. 2010-03-30 01:23:10 +00:00
InsetMathNumber.h HTML for numbers. 2010-03-30 01:23:10 +00:00
InsetMathOverset.cpp Fix bug #7252 2011-01-21 19:18:27 +00:00
InsetMathOverset.h HTML for overset. 2010-03-31 20:04:39 +00:00
InsetMathPar.cpp
InsetMathPar.h
InsetMathPhantom.cpp
InsetMathPhantom.h Ignore phantoms for now. 2010-03-31 20:31:15 +00:00
InsetMathRef.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetMathRef.h Remove the now unused parameter of createDialogStr(); 2010-10-29 00:42:40 +00:00
InsetMathRoot.cpp Don't hardcode Color_math, such that decorations and other math 2010-04-28 13:19:09 +00:00
InsetMathRoot.h HTML for roots. 2010-03-31 20:31:04 +00:00
InsetMathScript.cpp DispatchResult::update() ==> DispatchResult::screenUpdate() 2010-10-13 17:28:55 +00:00
InsetMathScript.h HTML for scripts. 2010-03-30 01:31:25 +00:00
InsetMathSize.cpp Make sure to call the parent's validate method. 2010-03-31 21:24:16 +00:00
InsetMathSize.h HTML for math sizes. 2010-03-31 20:37:23 +00:00
InsetMathSpace.cpp Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetMathSpace.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetMathSpecialChar.cpp HTML for special characters. 2010-03-31 20:49:21 +00:00
InsetMathSpecialChar.h Fix compilation for platforms besides Windows 2010-10-31 14:39:50 +00:00
InsetMathSplit.cpp Make members of FuncRequest private, per the FIXME there. Again, this is 2010-04-09 19:00:42 +00:00
InsetMathSplit.h HTML for InsetMathSplit. 2010-03-31 20:50:29 +00:00
InsetMathSqrt.cpp Don't hardcode Color_math, such that decorations and other math 2010-04-28 13:19:09 +00:00
InsetMathSqrt.h HTML for roots. 2010-03-31 20:31:04 +00:00
InsetMathStackrel.cpp HTML for stackrel. 2010-03-31 20:54:27 +00:00
InsetMathStackrel.h HTML for stackrel. 2010-03-31 20:54:27 +00:00
InsetMathString.cpp fix typo: double semicolon at line end of code 2010-12-21 15:28:55 +00:00
InsetMathString.h
InsetMathSubstack.cpp InsetMathSubstack.cpp: fix #2498 2010-11-29 03:18:02 +00:00
InsetMathSubstack.h HTML for substack. Sort of. There's an odd problem here, that is 2010-03-31 21:17:30 +00:00
InsetMathSymbol.cpp Correctly show in italic shape the uppercase greek letters inserted in 2011-01-01 19:24:16 +00:00
InsetMathSymbol.h Integrals via HTML. 2010-03-30 22:51:02 +00:00
InsetMathTabular.cpp
InsetMathTabular.h
InsetMathUnderset.cpp Fix bug #7252 2011-01-21 19:18:27 +00:00
InsetMathUnderset.h HTML for underset. 2010-03-31 20:12:52 +00:00
InsetMathUnknown.cpp MathML and HTML definitely can't handle MathUnknown!! 2010-07-29 15:48:01 +00:00
InsetMathUnknown.h MathML and HTML definitely can't handle MathUnknown!! 2010-07-29 15:48:01 +00:00
InsetMathXArrow.cpp HTML for xarrows. 2010-07-29 15:44:17 +00:00
InsetMathXArrow.h HTML for xarrows. 2010-07-29 15:44:17 +00:00
InsetMathXYArrow.cpp MathML and HTML can't handle XYArrow. 2010-07-29 15:46:26 +00:00
InsetMathXYArrow.h Remove unimplemented function declaration. 2011-02-13 10:02:00 +00:00
InsetMathXYMatrix.cpp MathML and HTML definitely can't handle XYMatrix. 2010-07-29 15:38:01 +00:00
InsetMathXYMatrix.h Remove unimplemented function declaration. 2011-02-13 10:02:00 +00:00
MacroTable.cpp Patch by John McCabe-Dansted to fix bug #6502: 2010-02-08 17:39:55 +00:00
MacroTable.h Patch by John McCabe-Dansted to fix bug #6502: 2010-02-08 17:39:55 +00:00
MathAtom.cpp Remove some unnecessary static_casts and add two FIXMEs about casts that don't look safe. 2010-10-26 16:45:21 +00:00
MathAtom.h Remove some unnecessary static_casts and add two FIXMEs about casts that don't look safe. 2010-10-26 16:45:21 +00:00
MathAutoCorrect.cpp
MathAutoCorrect.h
MathCompletionList.h
MathData.cpp Fix bug #6739: Loading in a 1.6.5 file causes 1.6.6-1 to crash 2010-05-31 23:20:30 +00:00
MathData.h Rest of gcc 4.6 issues from Orion Poplawski. 2011-02-12 22:10:56 +00:00
MathExtern.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
MathExtern.h The beginnings of pure HTML output of math, for our internal XHTML 2010-03-29 22:52:13 +00:00
MathFactory.cpp Integrate texrow with otexstream in order to perform automatic line 2011-02-10 20:02:48 +00:00
MathFactory.h
MathGridInfo.h
MathMacro.cpp Fix bug #6965 (Crash editing ERT in math mode) 2010-10-28 11:13:47 +00:00
MathMacro.h fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 20:51:44 +00:00
MathMacroArgument.cpp
MathMacroArgument.h
MathMacroTemplate.cpp Trying to be too smart by reducing the number of regenerated previews, may 2010-12-13 22:20:29 +00:00
MathMacroTemplate.h Fix bug #6919 by splitting Inset::noFontChange() into inheritFont() and 2011-02-22 19:41:04 +00:00
MathParser_flags.h
MathParser.cpp Refine fix for bug #7183. 2010-12-20 18:15:39 +00:00
MathParser.h
MathStream.cpp Style. 2010-11-19 13:27:51 +00:00
MathStream.h Make sure that no blank line can (unintentionally) slip in when exporting 2010-11-18 14:05:50 +00:00
MathSupport.cpp MathSupport.cpp: 2010-08-29 22:59:24 +00:00
MathSupport.h Index: src/mathed/InsetMathHull.cpp 2010-04-28 01:40:11 +00:00
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/...)