This removes stuff that's been uunsed for a while...

Ok?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)
? tmp.diff
? crash.diff
? haveit
? script.diff
? all
? rmcopyright.sh
? shared_ptr.diff
Index: math_cursor.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_cursor.C,v
retrieving revision 1.322
diff -u -p -r1.322 math_cursor.C
--- math_cursor.C       22 Oct 2002 11:13:40 -0000      1.322
+++ math_cursor.C       22 Oct 2002 11:39:54 -0000
@@ -24,9 +24,7 @@
 
 #include "support/lstrings.h"
 #include "support/LAssert.h"
-#include "BufferView.h"
 #include "debug.h"
-#include "LColor.h"
 #include "frontends/Painter.h"
 #include "math_cursor.h"
 #include "formulabase.h"
@@ -42,8 +40,6 @@
 #include "math_macroarg.h"
 #include "math_macrotemplate.h"
 #include "math_mathmlstream.h"
-#include "math_parser.h"
-#include "math_replace.h"
 #include "math_scriptinset.h"
 #include "math_spaceinset.h"
 #include "math_support.h"
@@ -1250,25 +1246,6 @@ bool MathCursor::interpret(char c)
                niceInsert(MathAtom(new MathCommentInset));
                return true;
        }
-
-/*
-       if (isalpha(c) && lastcode_ == LM_TC_GREEK) {
-               insert(c, LM_TC_VAR);
-               return true;
-       }
-
-       if (isalpha(c) && lastcode_ == LM_TC_GREEK1) {
-               insert(c, LM_TC_VAR);
-               lastcode_ = LM_TC_VAR;
-               return true;
-       }
-
-       if (c == '\\') {
-               insert(c, LM_TC_TEX);
-               //bv->owner()->message(_("TeX mode"));
-               return true;
-       }
-*/
 
        // try auto-correction
        //if (autocorrect_ && hasPrevAtom() && math_autocorrect(prevAtom(), c))

Reply via email to