lyx_mirror/src/mathed
Dov Feldstern 662b58497e Getting rid of LTR bias --- part 1/?
This is the first patch in a series meant to remove LTR bias from the code.
Currently, there are many places in the code where "right" and "left" are used,
but where we actually mean "forward" and "backwards" --- which is the same 
thing in LTR text, but not in RTL/Bidi text.

See full details in http://permalink.gmane.org/gmane.editors.lyx.devel/97550.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21128 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 22:18:52 +00:00
..
BUGS * src/mathed/BUGS: remove old stuff 2007-04-22 10:11:16 +00:00
CommandInset.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
CommandInset.h * Inset: 2007-09-21 20:39:47 +00:00
InsetFormulaMacro.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetFormulaMacro.h Move Inset::Code to InsetCode.h 2007-10-13 09:04:52 +00:00
InsetMath.cpp Converted '#warning ...' into FIXME-comments 2007-08-10 11:47:12 +00:00
InsetMath.h fix bug 4132: parse some more column specifiers 2007-08-20 17:30:45 +00:00
InsetMathAMSArray.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +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 Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +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 Remove remnant of the past. 2007-09-25 07:41:03 +00:00
InsetMathBig.h Remove remnant of the past. 2007-09-25 07:41:03 +00:00
InsetMathBinom.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathBinom.h Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathBoldSymbol.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathBoldSymbol.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathBox.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathBox.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathBoxed.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathBoxed.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathBrace.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathBrace.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathCases.cpp Refactor Undo/Redo framework into an Undo class owned by a Buffer. This reduces header dependencies from Undo.h which was including lots of stuff previously. This also solves the bug where undo/redo were reset upon buffer switching. Now, each buffer has a truly independant undo/redo architecture. 2007-10-18 11:51:17 +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 Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathChar.h Remove remnant of the past. 2007-09-25 07:41:03 +00:00
InsetMathColor.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathColor.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathComment.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathComment.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathDecoration.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathDecoration.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathDelim.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathDelim.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathDFrac.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathDFrac.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathDiff.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetMathDiff.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathDots.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +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 Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathEnv.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathExFunc.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathExFunc.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathExInt.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetMathExInt.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathFBox.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathFBox.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathFont.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathFont.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathFontOld.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathFontOld.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathFrac.cpp Assertion fix. 2007-10-01 10:23:56 +00:00
InsetMathFrac.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathFracBase.cpp Support for units and fractional units with values 2007-09-15 16:39:51 +00:00
InsetMathFracBase.h Support for units and fractional units with values 2007-09-15 16:39:51 +00:00
InsetMathFrameBox.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathFrameBox.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathGrid.cpp Getting rid of LTR bias --- part 1/? 2007-10-22 22:18:52 +00:00
InsetMathGrid.h Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathHull.cpp Getting rid of LTR bias --- part 1/? 2007-10-22 22:18:52 +00:00
InsetMathHull.h Move Inset::Code to InsetCode.h 2007-10-13 09:04:52 +00:00
InsetMathKern.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetMathKern.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathLefteqn.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathLefteqn.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathLim.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetMathLim.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathMakebox.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathMakebox.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 * Inset: 2007-09-21 20:39:47 +00:00
InsetMathMBox.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathNest.cpp Getting rid of LTR bias --- part 1/? 2007-10-22 22:18:52 +00:00
InsetMathNest.h Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathNumber.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetMathNumber.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathOverset.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathOverset.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathPar.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathPar.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathPhantom.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathPhantom.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathRef.cpp InsetCommandParams() now takes an InsetCode rather than a string. 2007-10-19 17:22:55 +00:00
InsetMathRef.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetMathRoot.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathRoot.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathScript.cpp Refactor Undo/Redo framework into an Undo class owned by a Buffer. This reduces header dependencies from Undo.h which was including lots of stuff previously. This also solves the bug where undo/redo were reset upon buffer switching. Now, each buffer has a truly independant undo/redo architecture. 2007-10-18 11:51:17 +00:00
InsetMathScript.h Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathSize.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathSize.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathSpace.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetMathSpace.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathSplit.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetMathSplit.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetMathSqrt.cpp move some buffere related stuff from callback.cpp tpo Buffer.cpp. 2007-10-03 11:00:18 +00:00
InsetMathSqrt.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathStackrel.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathStackrel.h * Inset: 2007-09-21 20:39:47 +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 Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathSubstack.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathSymbol.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathSymbol.h Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathTabular.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathTabular.h Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathTFrac.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathTFrac.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathUnderset.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathUnderset.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathUnknown.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetMathUnknown.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathXArrow.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathXArrow.h * Inset: 2007-09-21 20:39:47 +00:00
InsetMathXYArrow.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
InsetMathXYArrow.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetMathXYMatrix.cpp Put mathed on a diet: transfer dimension cache from inset to BufferView. 2007-09-23 22:39:49 +00:00
InsetMathXYMatrix.h * Inset: 2007-09-21 20:39:47 +00:00
MacroTable.cpp Move Inset::Code to InsetCode.h 2007-10-13 09:04:52 +00:00
MacroTable.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
MathAtom.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
MathAtom.h Remove remnant of the past. 2007-10-01 10:50:16 +00:00
MathAutoCorrect.cpp rename MathArray into MathData 2007-04-26 16:05:57 +00:00
MathAutoCorrect.h
MathData.cpp Metrics fix. Empty math inset doesn't have zero dimension. 2007-10-11 10:33:36 +00:00
MathData.h Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
MathExtern.cpp remove uneeded code; 2007-10-04 17:35:27 +00:00
MathExtern.h rename MathArray into MathData 2007-04-26 16:05:57 +00:00
MathFactory.cpp InsetCommandParams() now takes an InsetCode rather than a string. 2007-10-19 17:22:55 +00:00
MathFactory.h rename MathArray into MathData 2007-04-26 16:05:57 +00:00
MathGridInfo.h
MathMacro.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
MathMacro.h * Inset: 2007-09-21 20:39:47 +00:00
MathMacroArgument.cpp * Inset: 2007-09-21 20:39:47 +00:00
MathMacroArgument.h Move Inset::Code to InsetCode.h 2007-10-13 09:04:52 +00:00
MathMacroTemplate.cpp Put MathData on a diet: transfer dimension cache to BufferView' CoordCache along its position. 2007-09-24 13:52:04 +00:00
MathMacroTemplate.h Move Inset::Code to InsetCode.h 2007-10-13 09:04:52 +00:00
MathParser.cpp Off-by-one error addCol() 2007-10-13 15:48:22 +00:00
MathParser.h rename MathArray into MathData 2007-04-26 16:05:57 +00:00
MathStream.cpp disable some tests for standard C++ features; add a line counting stream for lates output 2007-08-12 08:57:17 +00:00
MathStream.h rename MathArray into MathData 2007-04-26 16:05:57 +00:00
MathSupport.cpp Fix bug 2330 2007-10-06 13:42:28 +00:00
MathSupport.h rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
README
ReplaceData.h rename MathArray into MathData 2007-04-26 16:05:57 +00:00
texify
TextPainter.cpp Rename files in src/mathed and src/graphics from .C to .cpp, step 2 2007-04-25 03:03:25 +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/...)