/*
-* File: formula.C
-* Purpose: Implementation of formula inset
+* File: formulabase.C
+* Purpose: Implementation of common parts of the LyX math insets
* Author: Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* Created: January 1996
-* Description: Allows the edition of math paragraphs inside Lyx.
*
* Copyright: 1996-1998 Alejandro Aguilar Sierra
*
break;
default:
- lyxerr << "Closed by action " << action << endl;
- result = FINISHED_RIGHT;
+ result = UNDISPATCHED;
}
//mathcursor->normalize();
if (lastcode_ != LM_TC_TEX && strchr("#$%{}", c)) {
insert(new MathSpecialCharInset(c));
+ lastcode_ = LM_TC_VAR;
return;
}
break;
}
- else LM_TK_SPECIAL:
- array.push_back(new MathCharInset(ival_, LM_TC_TEX));
- break;
*/
else if (t.cs() == "begin") {