revert last "bug-fix" for the 'C-m 11' problem

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3286 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-01-03 13:44:21 +00:00
parent 8e5481d65f
commit 00af0cdf35

View File

@ -1305,7 +1305,9 @@ bool MathCursor::script(bool up)
bool MathCursor::interpret(char c)
{
//lyxerr << "interpret 2: '" << c << "'\n";
// Removed super/subscript handling from here to ::script -MV
// handle macroMode
if (inMacroMode()) {
string name = macroName();
@ -1410,8 +1412,8 @@ bool MathCursor::interpret(char c)
}
// no special circumstances, so insert the character without any fuss
lastcode_ = LM_TC_MIN;
insert(c, lastcode_);
lastcode_ = LM_TC_MIN;
return true;
}