lyx_mirror/src/mathed
André Pönitz 9e9450cd9a make enering a formula from above/below a bit smoother
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5073 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 13:17:29 +00:00
..
.cvsignore
BUGS
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 compile fix 2002-08-14 18:31:53 +00:00
command_inset.C use the new mouse LFUNs 2002-08-19 10:11:13 +00:00
command_inset.h use the new mouse LFUNs 2002-08-19 10:11:13 +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 streamlining interaction mathed <-> rest of the world 2002-08-15 14:33:14 +00:00
formula.h streamlining interaction mathed <-> rest of the world 2002-08-15 14:33:14 +00:00
formulabase.C make enering a formula from above/below a bit smoother 2002-08-22 13:17:29 +00:00
formulabase.h use the new mouse LFUNs 2002-08-19 10:11:13 +00:00
formulamacro.C - re-enable editing of macro name during input 2002-08-19 14:39:35 +00:00
formulamacro.h macro handling cleanup 2002-07-12 14:24:47 +00:00
Makefile.am small bugfixes, new inset for comments and the main part is moving lfun 2002-08-14 15:13:07 +00:00
math_amsarrayinset.C Herbert's Bmatrix patch 2002-08-12 07:05:02 +00:00
math_amsarrayinset.h more const correctness 2002-08-09 07:01:17 +00:00
math_arrayinset.C remove a few unneeded 'include' 2002-08-02 14:04:16 +00:00
math_arrayinset.h more cosmetics 2002-08-09 10:22:35 +00:00
math_atom.C code that's not there cannot be wrong... 2002-08-08 17:19:26 +00:00
math_atom.h more cosmetics 2002-08-09 10:22:35 +00:00
math_autocorrect.C more cosmetics 2002-08-09 10:22:35 +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_commentinset.C small bugfixes, new inset for comments and the main part is moving lfun 2002-08-14 15:13:07 +00:00
math_commentinset.h small bugfixes, new inset for comments and the main part is moving lfun 2002-08-14 15:13:07 +00:00
math_cursor.C \backslash vs \textbackslash 2002-08-22 07:49:53 +00:00
math_cursor.h more lfun shuffling 2002-08-14 16:43:16 +00:00
math_data.C a new paragraph function 2002-08-10 15:21:07 +00:00
math_data.h up/down tweaks 2002-08-09 08:14:18 +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 somebody should have told me that '!' has a meaning... 2002-08-14 10:44:48 +00:00
math_extern.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_factory.C new LFUN_MOUSE_(PRESS|MOTION|RELEASE) 2002-08-12 09:53:04 +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 Herbert's compile fix 2002-08-13 18:21:44 +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 the 'tabular unifiaction patch' (even with the removal of duplicated menu 2002-08-21 13:47:52 +00:00
math_gridinset.h the 'tabular unifiaction patch' (even with the removal of duplicated menu 2002-08-21 13:47:52 +00:00
math_hullinset.C the 'tabular unifiaction patch' (even with the removal of duplicated menu 2002-08-21 13:47:52 +00:00
math_hullinset.h the 'tabular unifiaction patch' (even with the removal of duplicated menu 2002-08-21 13:47:52 +00:00
math_inset.C try to suppress unneeded spaces when writing 2002-08-22 10:04:11 +00:00
math_inset.h move half of BufferView_pimpl::dispatch() to LyXText::dispatch() 2002-08-20 13:00:25 +00:00
math_iterator.C the lfun3 patches (overall cleanup and "localizing" dispatch() in mathed) 2002-08-13 17:43:40 +00:00
math_iterator.h the lfun3 patches (overall cleanup and "localizing" dispatch() in mathed) 2002-08-13 17:43:40 +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 more cosmetics 2002-08-09 10:22:35 +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 more const correctness 2002-08-09 07:01:17 +00:00
math_mathmlstream.C move some stuff from BufferView_pimpl.C to text3.C and lose a few lines... 2002-08-22 13:02:14 +00:00
math_mathmlstream.h temporary reversal of the 'don't write spaces' stuff as this was buggy... 2002-08-22 11:57:58 +00:00
math_matrixinset.C
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 move some stuff from BufferView_pimpl.C to text3.C and lose a few lines... 2002-08-22 13:02:14 +00:00
math_nestinset.h small bugfix for pasting into non-gridded inset (I broke that yesterday) 2002-08-15 10:02:53 +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 try to suppress unneeded spaces when writing 2002-08-22 10:04:11 +00:00
math_parser.h more lfun localization 2002-08-14 16:11:55 +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
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 small bugfixes, new inset for comments and the main part is moving lfun 2002-08-14 15:13:07 +00:00
math_scriptinset.h small bugfixes, new inset for comments and the main part is moving lfun 2002-08-14 15:13:07 +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 move some stuff from BufferView_pimpl.C to text3.C and lose a few lines... 2002-08-22 13:02:14 +00:00
math_spaceinset.h Herbert's space.diff patch for neg*space support. 2002-08-15 07:13:21 +00:00
math_splitinset.C
math_splitinset.h
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 move some stuff from BufferView_pimpl.C to text3.C and lose a few lines... 2002-08-22 13:02: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 try to suppress unneeded spaces when writing 2002-08-22 10:04:11 +00:00
math_symbolinset.h more cosmetics 2002-08-09 10:22:35 +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 more cosmetics 2002-08-09 10:22:35 +00:00
math_unknowninset.h more cosmetics 2002-08-09 10:22:35 +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
ref_inset.C use the new mouse LFUNs 2002-08-19 10:11:13 +00:00
ref_inset.h the lfun3 patches (overall cleanup and "localizing" dispatch() in mathed) 2002-08-13 17:43:40 +00:00
texify
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