lyx_mirror/src/mathed
Jean-Marc Lasgouttes d02244c8fb Make caret visible inside math macros arguments
The first step is to move the MathRow cache to BufferView, alongside
coordCache. This was on the todo list anyway, since it allows to let
go the math row information when the math equation is not on the
screen anymore. With the old scheme, it would always remain in memory.

Then, when computing caret size in MathData::metrics, make sure that
the mathrow of the elements that are linearized in the MathRow object
get their caret size information initialized too.

Fixes bug #11587.
2019-06-03 16:28:16 +02:00
..
BUGS
CMakeLists.txt
InsetMath.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetMath.h Some more 0 > nullptr substitutions 2019-04-21 15:49:11 +02:00
InsetMathAMSArray.cpp InsetMath: match the screen display with the EnsureMath behaviour in output 2016-11-22 11:30:26 +01:00
InsetMathAMSArray.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetMathArray.cpp Get rid of Inset::setPosCache 2016-12-06 16:15:47 +01:00
InsetMathArray.h
InsetMathBig.cpp Implement mathClass() for \big and friends 2017-01-12 10:28:52 +01:00
InsetMathBig.h Implement mathClass() for \big and friends 2017-01-12 10:28:52 +01:00
InsetMathBoldSymbol.cpp Re-implement math markers logic. 2017-01-11 17:35:34 +01:00
InsetMathBoldSymbol.h
InsetMathBox.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetMathBox.h Linearize macros in box edit mode too. 2017-03-23 10:17:07 +01:00
InsetMathBrace.cpp Re-implement math markers logic. 2017-01-11 17:35:34 +01:00
InsetMathBrace.h Fix bug #9348 2018-04-10 22:40:02 +02:00
InsetMathCancel.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetMathCancel.h
InsetMathCancelto.cpp Rename InsetMathNest::metrics to cellsMetrics 2017-01-12 11:22:51 +01:00
InsetMathCancelto.h
InsetMathCases.cpp Get rid of Inset::setPosCache 2016-12-06 16:15:47 +01:00
InsetMathCases.h
InsetMathChar.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetMathChar.h Introduce the notion of math class 2016-11-16 15:21:52 +01:00
InsetMathClass.cpp Re-implement math markers logic. 2017-01-11 17:35:34 +01:00
InsetMathClass.h Add support for \mathbin and friends 2016-11-16 15:21:53 +01:00
InsetMathColor.cpp Removed unused private variable 2018-05-14 23:03:50 +02:00
InsetMathColor.h Removed unused private variable 2018-05-14 23:03:50 +02:00
InsetMathCommand.cpp Rename some macro-related insets 2017-07-05 14:46:34 +02:00
InsetMathCommand.h Rename some macro-related insets 2017-07-05 14:46:34 +02:00
InsetMathComment.cpp Re-implement math markers logic. 2017-01-11 17:35:34 +01:00
InsetMathComment.h
InsetMathDecoration.cpp Fixup 7b7ed64a: allow toggling limits of (over|under)brace 2018-09-05 17:31:05 +02:00
InsetMathDecoration.h Fixup 7b7ed64a: allow toggling limits of (over|under)brace 2018-09-05 17:31:05 +02:00
InsetMathDelim.cpp Cell in delimiter inset should not be tight 2019-05-25 14:11:39 +02:00
InsetMathDelim.h Fixup ad79ac40: reintroduce markers around delimiters 2019-04-02 14:32:32 +02:00
InsetMathDiagram.cpp Get rid of Inset::setPosCache 2016-12-06 16:15:47 +01:00
InsetMathDiagram.h Correct computation of math font size 2016-11-21 00:02:35 +01:00
InsetMathDiff.cpp
InsetMathDiff.h
InsetMathDots.cpp Get rid of Inset::setPosCache 2016-12-06 16:15:47 +01:00
InsetMathDots.h
InsetMathEnsureMath.cpp Re-implement math markers logic. 2017-01-11 17:35:34 +01:00
InsetMathEnsureMath.h
InsetMathEnv.cpp Re-implement math markers logic. 2017-01-11 17:35:34 +01:00
InsetMathEnv.h
InsetMathExFunc.cpp
InsetMathExFunc.h
InsetMathExInt.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetMathExInt.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetMathFont.cpp Re-implement math markers logic. 2017-01-11 17:35:34 +01:00
InsetMathFont.h
InsetMathFontOld.cpp Re-implement math markers logic. 2017-01-11 17:35:34 +01:00
InsetMathFontOld.h
InsetMathFrac.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
InsetMathFrac.h Give 4 edit markers to all Frac-like insets 2017-06-14 15:38:47 +02:00
InsetMathGrid.cpp Make cell-forward/backward cycle in math 2018-11-09 16:05:09 +00:00
InsetMathGrid.h Fix display of gather in lefteqn mode 2018-10-04 16:09:54 +02:00
InsetMathHull.cpp Newly created inline math is not numbered 2019-05-11 23:18:10 +02:00
InsetMathHull.h When inserting math inset, put cursor selection in the correct cell 2018-04-05 11:22:02 +02:00
InsetMathKern.cpp Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
InsetMathKern.h Status bar information for InsetMathKern 2016-12-27 19:25:46 +01:00
InsetMathLefteqn.cpp Re-implement math markers logic. 2017-01-11 17:35:34 +01:00
InsetMathLefteqn.h
InsetMathLim.cpp
InsetMathLim.h
InsetMathMacro.cpp Correctly protect macros with optionals inserted in an optional argument 2019-04-26 15:30:08 +02:00
InsetMathMacro.h Fix bug #10951. 2018-01-04 15:12:16 -05:00
InsetMathMacroArgument.cpp Rename some macro-related insets 2017-07-05 14:46:34 +02:00
InsetMathMacroArgument.h Rename some macro-related insets 2017-07-05 14:46:34 +02:00
InsetMathMacroTemplate.cpp Fix display of single-char macro names 2018-12-13 19:41:56 +01:00
InsetMathMacroTemplate.h Rename some macro-related insets 2017-07-05 14:46:34 +02:00
InsetMathMatrix.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetMathMatrix.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetMathNest.cpp Removed shortcuts to toggle autocorrect. 2019-06-03 11:09:09 +02:00
InsetMathNest.h Fixes to input method handling 2018-07-05 14:32:37 +02:00
InsetMathNumber.cpp
InsetMathNumber.h
InsetMathOverset.cpp Fix cursor left/right navigation in overset, underset, and stackrel 2018-11-12 19:05:09 +01:00
InsetMathOverset.h Fix cursor left/right navigation in overset, underset, and stackrel 2018-11-12 19:05:09 +01:00
InsetMathPar.cpp
InsetMathPar.h
InsetMathPhantom.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetMathPhantom.h
InsetMathRef.cpp Fix bug 9798. 2018-10-04 14:04:48 -04:00
InsetMathRef.h Rename some macro-related insets 2017-07-05 14:46:34 +02:00
InsetMathRoot.cpp Restore correct left/right navigation in root inset 2018-11-10 14:55:00 +01:00
InsetMathRoot.h Restore correct left/right navigation in root inset 2018-11-10 14:55:00 +01:00
InsetMathScript.cpp Allow toggling (no)limits only after mathop symbol 2018-09-03 17:55:27 +02:00
InsetMathScript.h Allow toggling (no)limits only after mathop symbol 2018-09-03 17:55:27 +02:00
InsetMathSideset.cpp When inserting math inset, put cursor selection in the correct cell 2018-04-05 11:22:02 +02:00
InsetMathSideset.h When inserting math inset, put cursor selection in the correct cell 2018-04-05 11:22:02 +02:00
InsetMathSize.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetMathSize.h Correct computation of math font size 2016-11-21 00:02:35 +01:00
InsetMathSpace.cpp Set buffer correctly when changing math space type. 2018-12-13 10:27:20 +01:00
InsetMathSpace.h
InsetMathSpecialChar.cpp Implement rule 17 2017-01-31 22:55:00 +01:00
InsetMathSpecialChar.h
InsetMathSplit.cpp Fix display of gather in lefteqn mode 2018-10-04 16:09:54 +02:00
InsetMathSplit.h InsetMath: match the screen display with the EnsureMath behaviour in output 2016-11-22 11:30:26 +01:00
InsetMathSqrt.cpp Implement display of roots more faithfully 2017-12-04 10:58:08 +01:00
InsetMathSqrt.h
InsetMathStackrel.cpp Fix cursor left/right navigation in overset, underset, and stackrel 2018-11-12 19:05:09 +01:00
InsetMathStackrel.h Fix cursor left/right navigation in overset, underset, and stackrel 2018-11-12 19:05:09 +01:00
InsetMathString.cpp
InsetMathString.h
InsetMathSubstack.cpp InsetMath: match the screen display with the EnsureMath behaviour in output 2016-11-22 11:30:26 +01:00
InsetMathSubstack.h
InsetMathSymbol.cpp mathedSymbolDim only needs a MathBase 2016-11-21 00:08:11 +01:00
InsetMathSymbol.h Introduce the notion of math class 2016-11-16 15:21:52 +01:00
InsetMathTabular.cpp
InsetMathTabular.h
InsetMathUnderset.cpp Fix cursor left/right navigation in overset, underset, and stackrel 2018-11-12 19:05:09 +01:00
InsetMathUnderset.h Fix cursor left/right navigation in overset, underset, and stackrel 2018-11-12 19:05:09 +01:00
InsetMathUnknown.cpp
InsetMathUnknown.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetMathXArrow.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetMathXArrow.h MathClass of xrightarrow & co 2016-12-20 00:15:58 +01:00
InsetMathXYMatrix.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetMathXYMatrix.h Correct computation of math font size 2016-11-21 00:02:35 +01:00
MacroTable.cpp Rename some macro-related insets 2017-07-05 14:46:34 +02:00
MacroTable.h Rename some macro-related insets 2017-07-05 14:46:34 +02:00
MathAtom.cpp MathAtom: prefer composition over inheritance 2017-04-20 23:49:02 +02:00
MathAtom.h MathAtom: prefer composition over inheritance 2017-04-20 23:49:02 +02:00
MathAutoCorrect.cpp Allow to undo partly math autocorrect 2019-06-02 21:17:26 +02:00
MathAutoCorrect.h Make math autocorrrect work with more than 2 chars 2019-06-02 21:12:12 +02:00
MathClass.cpp Treat math style a bit more like other font features 2019-03-22 16:19:05 +01:00
MathClass.h Implement computation of spacing according to the TeXBook 2016-11-16 15:21:52 +01:00
MathCompletionList.h
MathData.cpp Make caret visible inside math macros arguments 2019-06-03 16:28:16 +02:00
MathData.h Make caret visible inside math macros arguments 2019-06-03 16:28:16 +02:00
MathExtern.cpp Prefer mathmode commands over textmode ones 2019-05-26 13:06:44 +02:00
MathExtern.h
MathFactory.cpp Properly fix #9616 2019-04-15 20:56:52 +02:00
MathFactory.h Properly fix #9616 2019-04-15 20:56:52 +02:00
MathParser_flags.h Fix bug #10581 2017-04-03 00:26:49 +02:00
MathParser.cpp Partial fix for bug #11586 2019-05-26 09:27:46 +02:00
MathParser.h
MathRow.cpp Rewrite the code that sets caret height in mathed 2019-04-16 15:58:51 +02:00
MathRow.h Make caret visible inside math macros arguments 2019-06-03 16:28:16 +02:00
MathStream.cpp Revert [60ac25a4/lyxgit], [30f16463/lyxgit], and part of [e8f480e7/lyxgit] 2019-04-26 12:34:29 +02:00
MathStream.h Revert [60ac25a4/lyxgit], [30f16463/lyxgit], and part of [e8f480e7/lyxgit] 2019-04-26 12:34:29 +02:00
MathSupport.cpp Introduce FontMetrics::xHeight 2018-07-19 22:16:40 +02:00
MathSupport.h Implement display of roots more faithfully 2017-12-04 10:58:08 +01: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/...)