lyx_mirror/src/mathed
André Pönitz 15d40ab329 code that's not there cannot be wrong...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4908 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 17:19:26 +00:00
..
.cvsignore
BUGS next try, part I 2002-01-03 18:37:18 +00:00
button_inset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
button_inset.h First shot at inset-unification mathed & rest of the world 2002-06-24 15:51:35 +00:00
ChangeLog Cache the BufferView as a weak_ptr; get rid of those horrible current_views. 2002-08-02 16:30:58 +00:00
command_inset.C First shot at inset-unification mathed & rest of the world 2002-06-24 15:51:35 +00:00
command_inset.h First shot at inset-unification mathed & rest of the world 2002-06-24 15:51:35 +00:00
dimension.C more work on \parbox support 2002-07-16 18:22:45 +00:00
dimension.h more work on \parbox support 2002-07-16 18:22:45 +00:00
formula.C replace a few more naked MathInset * by MathAtom & 2002-08-08 17:11:30 +00:00
formula.h a bit more const correctness 2002-08-08 16:08:11 +00:00
formulabase.C fix reading of labels with underscore and probably break a few other things 2002-08-08 14:22:44 +00:00
formulabase.h the FuncRequest changes 2002-08-07 08:11:41 +00:00
formulamacro.C remove a few unneeded 'include' 2002-08-02 14:04:16 +00:00
formulamacro.h macro handling cleanup 2002-07-12 14:24:47 +00:00
Makefile.am merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_amsarrayinset.C remove a few unneeded 'include' 2002-08-02 14:04:16 +00:00
math_amsarrayinset.h remove hard-wired association LaTeX macro <-> mathed inset 2002-07-11 09:34:58 +00:00
math_arrayinset.C remove a few unneeded 'include' 2002-08-02 14:04:16 +00:00
math_arrayinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_atom.C code that's not there cannot be wrong... 2002-08-08 17:19:26 +00:00
math_atom.h code that's not there cannot be wrong... 2002-08-08 17:19:26 +00:00
math_autocorrect.C *duck* 2002-06-18 15:44:30 +00:00
math_autocorrect.h First shot at "auto correction" feature in mathed 2002-05-24 08:29:16 +00:00
math_biginset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_biginset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_binaryopinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_binaryopinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_binominset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_binominset.h binom is binom is binom and choose is choose is choose ... 2002-07-04 11:00:51 +00:00
math_boxinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_boxinset.h enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_braceinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_braceinset.h re-adjust math-extern heuristics to new super/subscript inset 2002-07-30 17:51:19 +00:00
math_casesinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_casesinset.h use a single function dimension() instead of three. 2002-07-08 16:20:53 +00:00
math_charinset.C a bit more const correctness 2002-08-08 16:08:11 +00:00
math_charinset.h a bit more const correctness 2002-08-08 16:08:11 +00:00
math_cursor.C a bit more const correctness 2002-08-08 16:08:11 +00:00
math_cursor.h a bit more const correctness 2002-08-08 16:08:11 +00:00
math_data.C replace a few more naked MathInset * by MathAtom & 2002-08-08 17:11:30 +00:00
math_data.h merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_decorationinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_decorationinset.h fixes for \xxalignat and old style font changes 2002-07-17 10:25:33 +00:00
math_deliminset.C replace a few more naked MathInset * by MathAtom & 2002-08-08 17:11:30 +00:00
math_deliminset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_diffinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_diffinset.h macro handling cleanup 2002-07-12 14:24:47 +00:00
math_diminset.C replace a few more naked MathInset * by MathAtom & 2002-08-08 17:11:30 +00:00
math_diminset.h the up/down stuff reworked 2002-07-30 13:56:02 +00:00
math_dotsinset.C fix 'vanishing \sin' bug 2002-08-05 07:09:11 +00:00
math_dotsinset.h fix 'vanishing \sin' bug 2002-08-05 07:09:11 +00:00
math_envinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_envinset.h New support for \begin{...}...\end{...} style environments 2002-07-09 09:46:31 +00:00
math_ertinset.C Compilation fix. 2002-08-01 16:12:02 +00:00
math_ertinset.h a step towards world domination^H^H^H 2002-07-31 17:26:14 +00:00
math_exfuncinset.C fix 'vanishing \sin' bug 2002-08-05 07:09:11 +00:00
math_exfuncinset.h fix 'vanishing \sin' bug 2002-08-05 07:09:11 +00:00
math_exintinset.C re-adjust math-extern heuristics to new super/subscript inset 2002-07-30 17:51:19 +00:00
math_exintinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_extern.C replace a few more naked MathInset * by MathAtom & 2002-08-08 17:11:30 +00:00
math_extern.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_factory.C a step towards world domination^H^H^H 2002-07-31 17:26:14 +00:00
math_factory.h fonts as insets 2002-05-30 07:09:54 +00:00
math_fboxinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_fboxinset.h support for AMS's \boxed{} command 2002-07-30 16:04:41 +00:00
math_fontinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_fontinset.h save inset lock state in the .lyx file 2002-08-01 15:53:46 +00:00
math_fontoldinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_fontoldinset.h enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_fracbase.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_fracbase.h the up/down stuff reworked 2002-07-30 13:56:02 +00:00
math_fracinset.C a bit more const correctness 2002-08-08 16:08:11 +00:00
math_fracinset.h a bit more const correctness 2002-08-08 16:08:11 +00:00
math_gridinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_gridinset.h a bit more const correctness 2002-08-08 16:08:11 +00:00
math_hullinset.C a bit more const correctness 2002-08-08 16:08:11 +00:00
math_hullinset.h uses references instead of returning vectors 2002-08-02 13:35:05 +00:00
math_inset.C replace a few more naked MathInset * by MathAtom & 2002-08-08 17:11:30 +00:00
math_inset.h replace a few more naked MathInset * by MathAtom & 2002-08-08 17:11:30 +00:00
math_iterator.C a bit more const correctness 2002-08-08 16:08:11 +00:00
math_iterator.h move things around 2002-07-26 14:11:19 +00:00
math_kerninset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_kerninset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_lefteqninset.C fix 'vanishing \sin' bug 2002-08-05 07:09:11 +00:00
math_lefteqninset.h fix 'vanishing \sin' bug 2002-08-05 07:09:11 +00:00
math_liminset.C make \lim work for math-extern 2002-07-12 11:21:21 +00:00
math_liminset.h make \lim work for math-extern 2002-07-12 11:21:21 +00:00
math_macro.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_macro.h a bit more const correctness 2002-08-08 16:08:11 +00:00
math_macroarg.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_macroarg.h fonts as insets 2002-05-30 07:09:54 +00:00
math_macrotable.C macro handling cleanup 2002-07-12 14:24:47 +00:00
math_macrotable.h macro handling cleanup 2002-07-12 14:24:47 +00:00
math_macrotemplate.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_macrotemplate.h save inset lock state in the .lyx file 2002-08-01 15:53:46 +00:00
math_mathmlstream.C replace a few more naked MathInset * by MathAtom & 2002-08-08 17:11:30 +00:00
math_mathmlstream.h replace a few more naked MathInset * by MathAtom & 2002-08-08 17:11:30 +00:00
math_matrixinset.C fix crash due to wrong export of AMS's pmatrix etc in math-extern 2002-04-24 17:07:42 +00:00
math_matrixinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_metricsinfo.C Finish the re-indroduction of the show_banner flag. It is 'true' by 2002-08-06 13:00:50 +00:00
math_metricsinfo.h several fixes concerning font size in scripts/fractions/etc 2002-08-05 16:21:19 +00:00
math_nestinset.C a bit more const correctness 2002-08-08 16:08:11 +00:00
math_nestinset.h a bit more const correctness 2002-08-08 16:08:11 +00:00
math_numberinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_numberinset.h *duck* 2002-06-18 15:44:30 +00:00
math_parboxinset.C a step towards world domination^H^H^H 2002-07-31 17:26:14 +00:00
math_parboxinset.h a step towards world domination^H^H^H 2002-07-31 17:26:14 +00:00
math_parinset.C a step towards world domination^H^H^H 2002-07-31 17:26:14 +00:00
math_parinset.h a step towards world domination^H^H^H 2002-07-31 17:26:14 +00:00
math_parser.C code that's not there cannot be wrong... 2002-08-08 17:19:26 +00:00
math_parser.h macro handling cleanup 2002-07-12 14:24:47 +00:00
math_pos.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_pos.h merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_replace.h *** empty log message *** 2001-11-16 11:24:55 +00:00
math_rootinset.C cosmetics: make the hand-drawn root more similr to what LaTeX does 2002-08-05 08:44:08 +00:00
math_rootinset.h the up/down stuff reworked 2002-07-30 13:56:02 +00:00
math_scriptinset.C several fixes concerning font size in scripts/fractions/etc 2002-08-05 16:21:19 +00:00
math_scriptinset.h merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_sizeinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_sizeinset.h remove a few unneeded 'include' 2002-08-02 14:04:16 +00:00
math_spaceinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_spaceinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_splitinset.C support for 'gathered', 'aligned', 'matrix', \overleftrightarrow, 2002-02-15 14:50:40 +00:00
math_splitinset.h ws cleanup 2002-03-21 17:42:56 +00:00
math_sqrtinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_sqrtinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_stackrelinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_stackrelinset.h the up/down stuff reworked 2002-07-30 13:56:02 +00:00
math_streamstr.C Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_streamstr.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_stringinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_stringinset.h the up/down stuff reworked 2002-07-30 13:56:02 +00:00
math_substackinset.C fonts as insets 2002-05-30 07:09:54 +00:00
math_substackinset.h the up/down stuff reworked 2002-07-30 13:56:02 +00:00
math_support.C the FuncRequest changes 2002-08-07 08:11:41 +00:00
math_support.h remove unneede functions 2002-07-11 14:28:11 +00:00
math_symbolinset.C a bit more const correctness 2002-08-08 16:08:11 +00:00
math_symbolinset.h a bit more const correctness 2002-08-08 16:08:11 +00:00
math_textinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_textinset.h a step towards world domination^H^H^H 2002-07-31 17:26:14 +00:00
math_undersetinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_undersetinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_unknowninset.C a bit more const correctness 2002-08-08 16:08:11 +00:00
math_unknowninset.h a bit more const correctness 2002-08-08 16:08:11 +00:00
math_xarrowinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_xarrowinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_xyarrowinset.C merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_xyarrowinset.h merge MathArray and MathXArray classes. 2002-08-02 14:29:42 +00:00
math_xymatrixinset.C fonts as insets 2002-05-30 07:09:54 +00:00
math_xymatrixinset.h fonts as insets 2002-05-30 07:09:54 +00:00
preview.C preview as preview can... 2002-06-26 19:04:45 +00:00
preview.h Asymptotic approach to a well-designed graphics loader. 2002-06-28 11:22:56 +00:00
README deep iterators for math insets; 2001-12-05 17:50:18 +00:00
ref_inset.C the FuncRequest changes 2002-08-07 08:11:41 +00:00
ref_inset.h First shot at inset-unification mathed & rest of the world 2002-06-24 15:51:35 +00:00
texify fix cursor font bug 2001-08-28 13:34:04 +00:00
textpainter.C ascii export tweaking 2002-07-11 15:04:43 +00:00
textpainter.h ascii export tweaking 2002-07-11 15:04:43 +00:00

Inset 'Xyz' is implemented by 'MathXyzInset' in 'math_xyzinset.[hC]'


Inset hierarchy:
                                   
                                   MathInset   
                                (abstract base)

                         /            |             \

              Dim                  Char                   MacroArg
         (thing that need       (for things formerly 
          the width_/ascent_     known as characters) 
          /descent_ cache)
        
          /             \

       Nest              Dots  Func  Space  Symbol Bigop Noglyph
  (for thing with      
   nested content)     

        |         \

      Grid        Decoration   Delim   Frac  Macro  Root  Script  Sqrt

      /   \

 Array    Hull
         (base for eqnarray/align/...)



There are only two "real LyXInsets" in here:

Formula       - containing a pointer to a  MathHullInset 
FormulaMacro  - containing a pointer to a  MathMacroTemplate