lyx_mirror/src/mathed
Stefan Schimanski a085842f14 * fixing the framebox part of http://bugzilla.lyx.org/show_bug.cgi?id=2461:
"wrong cursor position in \framebox and \makebox environment"

  The drawing and metrics calculations were totally broken.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23319 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 12:45:36 +00:00
..
BUGS * src/mathed/BUGS: remove old stuff 2007-04-22 10:11:16 +00:00
CommandInset.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
CommandInset.h * Inset: 2007-09-21 20:39:47 +00:00
InsetFormulaMacro.cpp progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetFormulaMacro.h progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetMath.cpp progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetMath.h progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetMathAMSArray.cpp Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/. 2007-11-29 07:04:28 +00:00
InsetMathAMSArray.h Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathArray.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetMathArray.h Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathBig.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathBig.h Remove remnant of the past. 2007-09-25 07:41:03 +00:00
InsetMathBoldSymbol.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathBoldSymbol.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathBox.cpp * fixing the framebox part of http://bugzilla.lyx.org/show_bug.cgi?id=2461: 2008-02-28 12:45:36 +00:00
InsetMathBox.h * fixing the framebox part of http://bugzilla.lyx.org/show_bug.cgi?id=2461: 2008-02-28 12:45:36 +00:00
InsetMathBrace.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathBrace.h * non-const coercion for math braces 2007-11-01 10:58:59 +00:00
InsetMathCases.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
InsetMathCases.h Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathChar.cpp header cleanup 2008-02-18 07:14:42 +00:00
InsetMathChar.h fix compilation warnings: unused parameters 2008-01-03 15:44:05 +00:00
InsetMathColor.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathColor.h Move Color::color enum to ColorCode.h 2007-10-25 12:41:02 +00:00
InsetMathComment.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathComment.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathDecoration.cpp header cleanup 2008-02-18 07:14:42 +00:00
InsetMathDecoration.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathDelim.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathDelim.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathDiff.cpp header cleanup 2008-02-18 07:14:42 +00:00
InsetMathDiff.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathDots.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathDots.h Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathEnv.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathEnv.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathExFunc.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathExFunc.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathExInt.cpp header cleanup 2008-02-18 07:14:42 +00:00
InsetMathExInt.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathFont.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathFont.h * kerning may depend on the BufferView because the metrics of some insets (e.g. math macros) depend on the cursor position in the view 2007-12-22 14:39:22 +00:00
InsetMathFontOld.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathFontOld.h * kerning may depend on the BufferView because the metrics of some insets (e.g. math macros) depend on the cursor position in the view 2007-12-22 14:39:22 +00:00
InsetMathFrac.cpp fix compilation warnings: unused parameters 2008-01-03 15:44:05 +00:00
InsetMathFrac.h Getting rid of LTR bias --- part 4/4 2007-11-05 19:44:03 +00:00
InsetMathGrid.cpp progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetMathGrid.h support for \pagebreak: 2007-11-23 02:10:00 +00:00
InsetMathHull.cpp InsetMathHull::addToToc(): Work around buffer reference in InsetMathHull. This inset is created at too many places (see Parser::parse1() in MathParser.cpp). 2008-02-28 10:04:15 +00:00
InsetMathHull.h progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetMathKern.cpp use strfwd.h if possible 2007-11-27 20:51:20 +00:00
InsetMathKern.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathLefteqn.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathLefteqn.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathLim.cpp header cleanup 2008-02-18 07:14:42 +00:00
InsetMathLim.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathMatrix.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetMathMatrix.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetMathMBox.cpp progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetMathMBox.h progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetMathNest.cpp progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetMathNest.h progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetMathNumber.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetMathNumber.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathOverset.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathOverset.h put \frac style stuff into a single unit. -161477. 2007-10-25 21:53:06 +00:00
InsetMathPar.cpp we assume (more or less) conforming compilers nowadays. 2007-11-06 21:45:24 +00:00
InsetMathPar.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathPhantom.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathPhantom.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathRef.cpp progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetMathRef.h progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetMathRoot.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathRoot.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathScript.cpp * simplify notifyCursorLeaves logic: We now only call it from strategic 2008-02-22 20:45:18 +00:00
InsetMathScript.h * simplify notifyCursorLeaves logic: We now only call it from strategic 2008-02-22 20:45:18 +00:00
InsetMathSize.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathSize.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathSpace.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetMathSpace.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathSplit.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetMathSplit.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetMathSqrt.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathSqrt.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathStackrel.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathStackrel.h put \frac style stuff into a single unit. -161477. 2007-10-25 21:53:06 +00:00
InsetMathString.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetMathString.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathSubstack.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetMathSubstack.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathSymbol.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathSymbol.h fix compilation warnings: unused parameters 2008-01-03 15:44:05 +00:00
InsetMathTabular.cpp we assume (more or less) conforming compilers nowadays. 2007-11-06 21:45:24 +00:00
InsetMathTabular.h Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathUnderset.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathUnderset.h put \frac style stuff into a single unit. -161477. 2007-10-25 21:53:06 +00:00
InsetMathUnknown.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetMathUnknown.h * completion infrastructure 2008-02-21 19:42:34 +00:00
InsetMathXArrow.cpp * moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view 2007-12-24 10:52:58 +00:00
InsetMathXArrow.h put \frac style stuff into a single unit. -161477. 2007-10-25 21:53:06 +00:00
InsetMathXYArrow.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetMathXYArrow.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetMathXYMatrix.cpp we assume (more or less) conforming compilers nowadays. 2007-11-06 21:45:24 +00:00
InsetMathXYMatrix.h * Inset: 2007-09-21 20:39:47 +00:00
MacroTable.cpp * completion infrastructure 2008-02-21 19:42:34 +00:00
MacroTable.h * Moved std::sets out of Buffer.h to reduce overall LyX compile time 2008-02-23 18:11:35 +00:00
MathAtom.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
MathAtom.h Remove remnant of the past. 2007-10-01 10:50:16 +00:00
MathAutoCorrect.cpp header cleanup 2008-02-18 07:14:42 +00:00
MathAutoCorrect.h
MathData.cpp * completion infrastructure 2008-02-21 19:42:34 +00:00
MathData.h * Support a script also around the ] of an optional parameter 2008-01-22 17:26:54 +00:00
MathExtern.cpp header cleanup 2008-02-18 07:14:42 +00:00
MathExtern.h use strfwd.h if possible 2007-11-27 20:51:20 +00:00
MathFactory.cpp cosmetics 2008-02-27 23:11:50 +00:00
MathFactory.h cosmetics 2008-02-27 23:11:50 +00:00
MathGridInfo.h
MathMacro.cpp * allow macro names with * 2008-02-27 10:43:29 +00:00
MathMacro.h * following Andre's advice to rename the method into 2008-02-22 21:11:19 +00:00
MathMacroArgument.cpp Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/. 2007-11-29 07:04:28 +00:00
MathMacroArgument.h * dynamic macros as described in http://1stein.org/download/dynmacro.pdf 2007-11-01 11:13:07 +00:00
MathMacroTemplate.cpp progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
MathMacroTemplate.h progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
MathParser.cpp * correct parsing of unknown math environment (fixes http://bugzilla.lyx.org/show_bug.cgi?id=4573) 2008-02-22 20:04:38 +00:00
MathParser.h remove unneeded #include 2007-11-05 23:01:18 +00:00
MathStream.cpp Patch to please gcc 4.3. Less bloat in the include headers means that 2008-02-07 17:04:06 +00:00
MathStream.h #include cosmetics 2007-11-05 23:46:17 +00:00
MathSupport.cpp header cleanup 2008-02-18 07:14:42 +00:00
MathSupport.h use strfwd.h if possible 2007-11-27 20:51:20 +00:00
README
ReplaceData.h rename MathArray into MathData 2007-04-26 16:05:57 +00:00
texify
TextPainter.cpp we assume (more or less) conforming compilers nowadays. 2007-11-06 21:45:24 +00:00
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/...)