lyx_mirror/src/mathed
André Pönitz 5972f27401 try to fix cursor jumping
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4784 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 13:34:13 +00:00
..
.cvsignore read ChangeLog, a lot of whitespace changes. experimental use of libtool 1999-11-22 16:19:48 +00:00
BUGS next try, part I 2002-01-03 18:37:18 +00:00
button_inset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
button_inset.h First shot at inset-unification mathed & rest of the world 2002-06-24 15:51:35 +00:00
ChangeLog Regenerate a preview only when leaving a math inset with depth 1. 2002-07-23 14:47:31 +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 Aesthetic improvement of equation positioning when previewing in display mode. 2002-07-23 09:23:11 +00:00
formula.h unneeded function 2002-07-12 14:49:58 +00:00
formulabase.C try to fix cursor jumping 2002-07-25 13:34:13 +00:00
formulabase.h binom is binom is binom and choose is choose is choose ... 2002-07-04 11:00:51 +00:00
formulamacro.C try to fix error shown by valgrind 2002-07-25 07:55:56 +00:00
formulamacro.h macro handling cleanup 2002-07-12 14:24:47 +00:00
Makefile.am fixes for \xxalignat and old style font changes 2002-07-17 10:25:33 +00:00
math_amsarrayinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_amsarrayinset.h remove hard-wired association LaTeX macro <-> mathed inset 2002-07-11 09:34:58 +00:00
math_arrayinset.C fonts as insets 2002-05-30 07:09:54 +00:00
math_arrayinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_atom.C several smallish changes/bugfixes/left overs from Porto 2002-06-25 13:19:50 +00:00
math_atom.h several smallish changes/bugfixes/left overs from Porto 2002-06-25 13:19:50 +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 fonts as insets 2002-05-30 07:09:54 +00:00
math_binaryopinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_binominset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +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 enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_boxinset.h enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_braceinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_braceinset.h more robust lable parsing, convenience contructor for braceinset 2002-07-11 07:56:14 +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 replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_charinset.h remove "remove seemingly unneeded {} hack" 2002-06-28 09:40:40 +00:00
math_cursor.C try to fix cursor jumping 2002-07-25 13:34:13 +00:00
math_cursor.h try to fix cursor jumping 2002-07-25 13:34:13 +00:00
math_data.C *duck* 2002-06-18 15:44:30 +00:00
math_data.h *duck* 2002-06-18 15:44:30 +00:00
math_decorationinset.C fixes for \xxalignat and old style font changes 2002-07-17 10:25:33 +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 (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_deliminset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_diffinset.C make \lim work for math-extern 2002-07-12 11:21:21 +00:00
math_diffinset.h macro handling cleanup 2002-07-12 14:24:47 +00:00
math_diminset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_diminset.h replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_dotsinset.C fixes for \xxalignat and old style font changes 2002-07-17 10:25:33 +00:00
math_dotsinset.h fixes for \xxalignat and old style font changes 2002-07-17 10:25:33 +00:00
math_envinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_envinset.h New support for \begin{...}...\end{...} style environments 2002-07-09 09:46:31 +00:00
math_exfuncinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_exfuncinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_exintinset.C Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_exintinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_extern.C make \lim work for math-extern 2002-07-12 11:21:21 +00:00
math_extern.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_factory.C fixes for \xxalignat and old style font changes 2002-07-17 10:25:33 +00:00
math_factory.h fonts as insets 2002-05-30 07:09:54 +00:00
math_fboxinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_fboxinset.h enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_fontinset.C enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_fontinset.h enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_fontoldinset.C Herbert's compile fix 2002-07-17 11:05:16 +00:00
math_fontoldinset.h enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_fracbase.C Wonder why Angus' compiler did not complain about this... 2002-03-22 15:50:50 +00:00
math_fracbase.h ws cleanup 2002-03-21 17:42:56 +00:00
math_fracinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_fracinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_funcliminset.C fonts as insets 2002-05-30 07:09:54 +00:00
math_funcliminset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_gridinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_gridinset.h fix #456 2002-06-24 18:10:01 +00:00
math_hullinset.C enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_hullinset.h enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_inset.C more work on \parbox support 2002-07-16 18:22:45 +00:00
math_inset.h enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_iterator.C ws cleanup 2002-03-21 17:42:56 +00:00
math_iterator.h ws cleanup 2002-03-21 17:42:56 +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 replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_lefteqninset.h fonts as insets 2002-05-30 07:09:54 +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 replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_macro.h fonts as insets 2002-05-30 07:09:54 +00:00
math_macroarg.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +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 macro handling cleanup 2002-07-12 14:24:47 +00:00
math_macrotemplate.h macro handling cleanup 2002-07-12 14:24:47 +00:00
math_mathmlstream.C remove hard-wired association LaTeX macro <-> mathed inset 2002-07-11 09:34:58 +00:00
math_mathmlstream.h remove hard-wired association LaTeX macro <-> mathed inset 2002-07-11 09:34:58 +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 using previews might be a good alternative to hard coding such diagrams... 2002-07-10 15:51:28 +00:00
math_metricsinfo.h using previews might be a good alternative to hard coding such diagrams... 2002-07-10 15:51:28 +00:00
math_nestinset.C Regenerate a preview only when leaving a math inset with depth 1. 2002-07-23 14:47:31 +00:00
math_nestinset.h more work on \parbox support 2002-07-16 18:22:45 +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 Compilation fix. 2002-07-17 12:07:57 +00:00
math_parboxinset.h enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_parinset.C move code from nestinset 2002-07-08 13:35:26 +00:00
math_parinset.h enable insertion of spaces in all \textxxx modes. 2002-07-18 11:02:33 +00:00
math_parser.C fixes for \xxalignat and old style font changes 2002-07-17 10:25:33 +00:00
math_parser.h macro handling cleanup 2002-07-12 14:24:47 +00:00
math_pos.C ws cleanup 2002-03-21 17:42:56 +00:00
math_pos.h ws cleanup 2002-03-21 17:42:56 +00:00
math_replace.h *** empty log message *** 2001-11-16 11:24:55 +00:00
math_rootinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_rootinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_scriptinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_scriptinset.h replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_sizeinset.C honor \displaystyle etc on screen 2002-07-17 15:57:03 +00:00
math_sizeinset.h honor \displaystyle etc on screen 2002-07-17 15:57:03 +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 replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_sqrtinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_stackrelinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_stackrelinset.h fonts as insets 2002-05-30 07:09:54 +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 Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_substackinset.C fonts as insets 2002-05-30 07:09:54 +00:00
math_substackinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_support.C fix display of rotated math decorations 2002-07-22 22:00:49 +00:00
math_support.h remove unneede functions 2002-07-11 14:28:11 +00:00
math_symbolinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_symbolinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_undersetinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_undersetinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_unknowninset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_unknowninset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_xarrowinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_xarrowinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_xdata.C more work on \parbox support 2002-07-16 18:22:45 +00:00
math_xdata.h more work on \parbox support 2002-07-16 18:22:45 +00:00
math_xyarrowinset.C using previews might be a good alternative to hard coding such diagrams... 2002-07-10 15:51:28 +00:00
math_xyarrowinset.h fonts as insets 2002-05-30 07:09:54 +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 math internal re-organization to prepare de-centralized dispatch 2002-07-08 06:39:40 +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