git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8890 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2004-08-12 21:48:21 +00:00
parent 9efc77e4db
commit 09e37ba99b

View File

@ -1097,10 +1097,10 @@ bool MathNestInset::interpret(LCursor & cur, char c)
return true; return true;
} }
//if (c == '%') { if (c == '~') {
// cur.niceInsert(MathAtom(new MathCommentInset)); cur.niceInsert(createMathInset("sim"));
// return true; return true;
//} }
// try auto-correction // try auto-correction
//if (autocorrect() && hasPrevAtom() && math_autocorrect(prevAtom(), c)) //if (autocorrect() && hasPrevAtom() && math_autocorrect(prevAtom(), c))
@ -1115,7 +1115,7 @@ bool MathNestInset::interpret(LCursor & cur, char c)
bool MathNestInset::script(LCursor & cur, bool up) bool MathNestInset::script(LCursor & cur, bool up)
{ {
// Hack to get \\^ and \\_ working // Hack to get \^ and \_ working
lyxerr << "handling script: up: " << up << endl; lyxerr << "handling script: up: " << up << endl;
if (cur.inMacroMode() && cur.macroName() == "\\") { if (cur.inMacroMode() && cur.macroName() == "\\") {
if (up) if (up)