lyx_mirror/src/mathed
Angus Leeming 754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +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
ChangeLog Create a new support function lyx::count to use in place of std::count. 2002-01-14 13:04:06 +00:00
formula.C some changes to make some compilers somewhat happier 2002-01-08 11:03:34 +00:00
formula.h fix nasty bug when inserting labels when cursor was in nested array 2001-12-11 15:04:02 +00:00
formulabase.C enable direct input of #1...#9; some whitespace changes 2002-01-11 10:26:13 +00:00
formulabase.h forward search in math insets. ugly. seems to work. don't ask why. 2002-01-03 09:41:26 +00:00
formulamacro.C remove unneeded #include 2001-12-11 17:47:27 +00:00
formulamacro.h use stream-like syntax for LaTeX output 2001-10-19 11:25:48 +00:00
Makefile.am perhaps a fix for the latest crashes 2001-12-10 10:09:00 +00:00
math_arrayinset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_arrayinset.h re-enable the mathcursor->normalize() safety belt. 2001-11-28 13:09:40 +00:00
math_atom.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_atom.h Essentially Lars' "thread safe" patch 2001-12-11 07:38:02 +00:00
math_binaryopinset.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_binaryopinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_binominset.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_binominset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_boxinset.C visual support for \displaystyle 2002-01-03 12:02:54 +00:00
math_boxinset.h preliminary support for \mbox 2001-12-18 12:21:33 +00:00
math_braceinset.C some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_braceinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_casesinset.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_casesinset.h support for \begin{cases}...\end{cases} (for interactive creation type M-x 2001-11-12 16:45:09 +00:00
math_charinset.C next try to fix the 'C-m 11' problem 2002-01-03 13:52:13 +00:00
math_charinset.h next try to fix the 'C-m 11' problem 2002-01-03 13:52:13 +00:00
math_cursor.C enable direct input of #1...#9; some whitespace changes 2002-01-11 10:26:13 +00:00
math_cursor.h enable direct input of #1...#9; some whitespace changes 2002-01-11 10:26:13 +00:00
math_data.C forward search in math insets. ugly. seems to work. don't ask why. 2002-01-03 09:41:26 +00:00
math_data.h some changes to make some compilers somewhat happier 2002-01-08 11:03:34 +00:00
math_decorationinset.C enable direct input of #1...#9; some whitespace changes 2002-01-11 10:26:13 +00:00
math_decorationinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_defs.h Angus' patch 2002-01-07 15:09:12 +00:00
math_deliminset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_deliminset.h forgotten file math_extern[Ch] 2001-11-09 10:44:24 +00:00
math_diffinset.C add paranthesis around numerator and denominator when exporting fractions 2001-11-13 16:27:06 +00:00
math_diffinset.h add paranthesis around numerator and denominator when exporting fractions 2001-11-13 16:27:06 +00:00
math_diminset.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_diminset.h - fix nasty bug due to missing InsetFormula copy c'tor 2001-08-06 17:20:26 +00:00
math_dotsinset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_dotsinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_exfuncinset.C Fixes for a broken std::count. 2002-01-11 17:57:02 +00:00
math_exfuncinset.h improved function function argument detection for math-extern: 2001-11-13 18:33:48 +00:00
math_exintinset.C small stuff, perhaps you should have a look at the change in math_parser, Andre 2001-12-18 03:16:46 +00:00
math_exintinset.h math-extern: some support for things like d/dx 2001-11-15 14:14:37 +00:00
math_extern.C make operator<<(*stream, ...) free functions; 2001-12-03 16:24:50 +00:00
math_extern.h forgotten file math_extern[Ch] 2001-11-09 10:44:24 +00:00
math_factory.C some changes to make some compilers somewhat happier 2002-01-08 11:03:34 +00:00
math_factory.h Use references instead of pointers where possible 2001-10-12 12:02:49 +00:00
math_fracbase.C more up/down tweaking; 2001-12-12 14:05:38 +00:00
math_fracbase.h more up/down tweaking; 2001-12-12 14:05:38 +00:00
math_fracinset.C cosmetics: move numerator and denominator in fravctions closer together 2002-01-03 13:02:43 +00:00
math_fracinset.h improved function function argument detection for math-extern: 2001-11-13 18:33:48 +00:00
math_funcinset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_funcinset.h search & replace for symbols & function 2001-11-16 12:00:27 +00:00
math_funcliminset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_funcliminset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_gridinset.C allow cut&paste of rectangular "regions" of cells 2001-12-15 16:13:11 +00:00
math_gridinset.h allow cut&paste of rectangular "regions" of cells 2001-12-15 16:13:11 +00:00
math_hash.C enable direct input of #1...#9; some whitespace changes 2002-01-11 10:26:13 +00:00
math_hullinset.C updates to latexfeatures stuff; allow empty \document_path 2002-01-10 10:05:45 +00:00
math_hullinset.h fix nasty bug when inserting labels when cursor was in nested array 2001-12-11 15:04:02 +00:00
math_inset.C allow cut&paste of rectangular "regions" of cells 2001-12-15 16:13:11 +00:00
math_inset.h Angus: 'WriteStream::addlines' is now the only way to change 'lines_' 2002-01-11 15:23:10 +00:00
math_iterator.C some changes to make some compilers somewhat happier 2002-01-08 11:03:34 +00:00
math_iterator.h some changes to make some compilers somewhat happier 2002-01-08 11:03:34 +00:00
math_kerninset.C Fixes for a broken std::count. 2002-01-11 17:57:02 +00:00
math_kerninset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_lefteqninset.C visual support for \displaystyle 2002-01-03 12:02:54 +00:00
math_lefteqninset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_limitopinset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_limitopinset.h some work on math-extern 2001-11-09 14:23:44 +00:00
math_macro.C re-enable automatic deletion of empty super/subscripts; 2001-12-12 13:11:28 +00:00
math_macro.h re-enable automatic deletion of empty super/subscripts; 2001-12-12 13:11:28 +00:00
math_macroarg.C enable direct input of #1...#9; some whitespace changes 2002-01-11 10:26:13 +00:00
math_macroarg.h make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display. 2002-01-10 14:02:37 +00:00
math_macrotable.C Adjust kerning of math symbols that are defined as macros 2001-12-18 15:19:32 +00:00
math_macrotable.h Use references instead of pointers where possible 2001-10-12 12:02:49 +00:00
math_macrotemplate.C input support for \mathcal, \mathbb etc. 2001-12-11 11:33:43 +00:00
math_macrotemplate.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_mathmlstream.C Create a new support function lyx::count to use in place of std::count. 2002-01-14 13:04:06 +00:00
math_mathmlstream.h Angus: 'WriteStream::addlines' is now the only way to change 'lines_' 2002-01-11 15:23:10 +00:00
math_matrixinset.C simple MathML output for integrals 2001-11-09 18:02:20 +00:00
math_matrixinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_metricsinfo.C halfway through fixing size of math in non-standard sizesd paragraohs like 2001-10-19 17:46:13 +00:00
math_metricsinfo.h - remove MathStyles cache from those insets that don't need it 2001-10-22 15:37:49 +00:00
math_nestinset.C brute force does not need much code... 2001-12-05 18:00:36 +00:00
math_nestinset.h brute force does not need much code... 2001-12-05 18:00:36 +00:00
math_notinset.C some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_notinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_parser.C Fixes for a broken std::count. 2002-01-11 17:57:02 +00:00
math_parser.h more small patches 2002-01-08 13:31:14 +00:00
math_pos.C forward search in math insets. ugly. seems to work. don't ask why. 2002-01-03 09:41:26 +00:00
math_pos.h revert most of the stuff that got reverted yesterday but was not 2001-12-11 15:35:18 +00:00
math_replace.h *** empty log message *** 2001-11-16 11:24:55 +00:00
math_rootinset.C re-enable automatic deletion of empty super/subscripts; 2001-12-12 13:11:28 +00:00
math_rootinset.h re-enable automatic deletion of empty super/subscripts; 2001-12-12 13:11:28 +00:00
math_scriptinset.C some changes to make some compilers somewhat happier 2002-01-08 11:03:34 +00:00
math_scriptinset.h some changes to make some compilers somewhat happier 2002-01-08 11:03:34 +00:00
math_sizeinset.C visual support for \displaystyle 2002-01-03 12:02:54 +00:00
math_sizeinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_spaceinset.C fix 'math background wrong in selected text' problem 2001-11-20 15:20:03 +00:00
math_spaceinset.h math-extern: some support for things like d/dx 2001-11-15 14:14:37 +00:00
math_specialcharinset.C some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_specialcharinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_splitinset.C make operator<<(*stream, ...) free functions; 2001-12-03 16:24:50 +00:00
math_splitinset.h strange enough: parts not commited during the last 'cvs commit' .. 2001-11-20 17:16:21 +00:00
math_sqrtinset.C make operator<<(*stream, ...) free functions; 2001-12-03 16:24:50 +00:00
math_sqrtinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_stackrelinset.C cosmetics: move numerator and denominator in fravctions closer together 2002-01-03 13:02:43 +00:00
math_stackrelinset.h some support for matrix operations with maple ('M-x math-extern maple evalm') 2001-11-09 08:35:57 +00:00
math_streamstr.C Create a new support function lyx::count to use in place of std::count. 2002-01-14 13:04:06 +00:00
math_streamstr.h Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_stringinset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_stringinset.h math-extern: some support for things like d/dx 2001-11-15 14:14:37 +00:00
math_support.C fixes/cleanup to dispatch/getStatus stuff; fixes the bug where unwanted function names appear in minibuffer 2002-01-12 20:00:47 +00:00
math_support.h visual support for \displaystyle 2002-01-03 12:02:54 +00:00
math_symbolinset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_symbolinset.h Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_unknowninset.C Add string << operators for the other streams as well, and removes 2001-12-05 08:04:20 +00:00
math_unknowninset.h forgotten file math_extern[Ch] 2001-11-09 10:44:24 +00:00
math_xdata.C some changes to make some compilers somewhat happier 2002-01-08 11:03:34 +00:00
math_xdata.h brute force does not need much code... 2001-12-05 18:00:36 +00:00
README deep iterators for math insets; 2001-12-05 17:50:18 +00:00
texify fix cursor font bug 2001-08-28 13:34:04 +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