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