lyx_mirror/src/mathed
Jürgen Spitzmüller c876a2e7c7 Merge the two linebreak insets into one.
* src/Buffer.cpp:
	- file format change to 324
* development/FORMAT:
	- document file format change

* src/insets/InsetNewline.{cpp,h}:
	- the former two separate derivates are now merged into one inset
	  with proper Params and Mailer. This simplifies the structure and allows for
	  switching between the two kinds.

* src/Text3.cpp:
	- The newline insets are now being generated with 
	   newline-insert [newline|linebreak]

* src/factory.cpp:
* src/Text.cpp:
	- Newline inset is now a proper inset with opening and closing tag.

* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetTabular.cpp:
* src/mathed/InsetMathGrid.cpp:
* src/mathed/InsetMathHull.cpp:
	- remove LFUN_NEW_LINE, LFUN_LINE_BREAK,
	  add LFUN_NEWLINE_INSERT

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion and reversion routines for newline insets.

* lib/ui/stdmenus.inc:
* lib/ui/stdcontext.inc
	- adapt menu and add context menu to switch between newpage variants.

* lib/bind/*.bind:
	- adapt to new lfuns.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 08:10:01 +00:00
..
BUGS
CommandInset.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
CommandInset.h
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 * fix http://bugzilla.lyx.org/show_bug.cgi?id=4622 2008-03-11 17:23:14 +00:00
InsetMathAMSArray.h * fix http://bugzilla.lyx.org/show_bug.cgi?id=4622 2008-03-11 17:23:14 +00:00
InsetMathArray.cpp cosmetics 2008-03-15 08:43:16 +00:00
InsetMathArray.h cosmetics 2008-03-15 08:43:16 +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
InsetMathBoldSymbol.cpp Merge InsetMathBoldSymbol and InsetMathBM by providing \boldsymbol 2008-03-12 14:33:16 +00:00
InsetMathBoldSymbol.h Merge InsetMathBoldSymbol and InsetMathBM by providing \boldsymbol 2008-03-12 14:33:16 +00:00
InsetMathBox.cpp * src/insets/InsetMathBox.{cpp,h}: 2008-03-05 18:57:08 +00:00
InsetMathBox.h * src/insets/InsetMathBox.{cpp,h}: 2008-03-05 18:57:08 +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
InsetMathCases.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
InsetMathCases.h
InsetMathChar.cpp header cleanup 2008-02-18 07:14:42 +00:00
InsetMathChar.h We don't want a buffer_ member in InsetMathChar. 2008-02-29 20:52:24 +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
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
InsetMathDecoration.cpp header cleanup 2008-02-18 07:14:42 +00:00
InsetMathDecoration.h
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
InsetMathDiff.cpp header cleanup 2008-02-18 07:14:42 +00:00
InsetMathDiff.h
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
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
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
InsetMathExInt.cpp header cleanup 2008-02-18 07:14:42 +00:00
InsetMathExInt.h
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
InsetMathGrid.cpp Merge the two linebreak insets into one. 2008-03-26 08:10:01 +00:00
InsetMathGrid.h cosmetics 2008-03-15 08:43:16 +00:00
InsetMathHull.cpp Merge the two linebreak insets into one. 2008-03-26 08:10:01 +00:00
InsetMathHull.h Add math context menu. 2008-03-09 15:07:27 +00:00
InsetMathKern.cpp
InsetMathKern.h
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
InsetMathLim.cpp header cleanup 2008-02-18 07:14:42 +00:00
InsetMathLim.h
InsetMathMatrix.cpp
InsetMathMatrix.h
InsetMathMBox.cpp Change the interface to a paragraph's layout. We still store a LayoutPtr, but now privately, and make a Layout const & available to clients. 2008-03-06 21:31:27 +00:00
InsetMathMBox.h Change the interface to a paragraph's layout. We still store a LayoutPtr, but now privately, and make a Layout const & available to clients. 2008-03-06 21:31:27 +00:00
InsetMathNest.cpp * another try on http://bugzilla.lyx.org/show_bug.cgi?id=4566: 2008-03-18 10:58:57 +00:00
InsetMathNest.h * cosmetic 2008-03-18 10:58:35 +00:00
InsetMathNumber.cpp cosmetics/#include cleanup 2008-03-15 00:22:54 +00:00
InsetMathNumber.h cosmetics/#include cleanup 2008-03-15 00:22:54 +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
InsetMathPar.cpp
InsetMathPar.h
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
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
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
InsetMathSpace.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetMathSpace.h
InsetMathSplit.cpp cosmetics 2008-03-15 08:43:16 +00:00
InsetMathSplit.h
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
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
InsetMathString.cpp
InsetMathString.h cosmetics/#include cleanup 2008-03-15 00:22:54 +00:00
InsetMathSubstack.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetMathSubstack.h
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 cosmetics 2008-03-15 08:43:16 +00:00
InsetMathTabular.h cosmetics 2008-03-15 08:43:16 +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
InsetMathUnknown.cpp cosmetics/#include cleanup 2008-03-15 00:22:54 +00:00
InsetMathUnknown.h cosmetics/#include cleanup 2008-03-15 00:22:54 +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
InsetMathXYArrow.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
InsetMathXYArrow.h
InsetMathXYMatrix.cpp
InsetMathXYMatrix.h
MacroTable.cpp * completion infrastructure 2008-02-21 19:42:34 +00:00
MacroTable.h * \newcommandx support for the math parser 2008-03-10 12:50:10 +00:00
MathAtom.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
MathAtom.h
MathAutoCorrect.cpp header cleanup 2008-02-18 07:14:42 +00:00
MathAutoCorrect.h
MathCompletionList.h cosmetics/#include cleanup 2008-03-15 00:22:54 +00:00
MathData.cpp * remove parameter here as well 2008-03-04 14:57:57 +00:00
MathData.h * add appetite concept to the math macro to restrict the number of parameter which are eaten greedily. 2008-03-04 14:49:03 +00:00
MathExtern.cpp header cleanup 2008-02-18 07:14:42 +00:00
MathExtern.h
MathFactory.cpp Merge InsetMathBoldSymbol and InsetMathBM by providing \boldsymbol 2008-03-12 14:33:16 +00:00
MathFactory.h cosmetics 2008-02-27 23:11:50 +00:00
MathGridInfo.h
MathMacro.cpp cosmetics/#include cleanup 2008-03-15 00:22:54 +00:00
MathMacro.h * cosmetic 2008-03-04 14:57:46 +00:00
MathMacroArgument.cpp cosmetics/#include cleanup 2008-03-15 00:22:54 +00:00
MathMacroArgument.h cosmetics/#include cleanup 2008-03-15 00:22:54 +00:00
MathMacroTemplate.cpp * cosmetic and comment 2008-03-10 12:54:00 +00:00
MathMacroTemplate.h * math macro definition context menu 2008-03-10 12:51:14 +00:00
MathParser.cpp cosmetics 2008-03-15 08:43:16 +00:00
MathParser.h
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
MathSupport.cpp header cleanup 2008-02-18 07:14:42 +00:00
MathSupport.h
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/...)