case LFUN_MATH_DISPLAY:
{
- int x;
- int y;
+ int x = 0;
+ int y = 0;
mathcursor->getPos(x, y);
if (mat()->getType() == LM_OT_SIMPLE)
mat()->mutate(LM_OT_EQUATION);
mat()->addCol(mat()->ncols());
mathcursor->normalize();
updateLocal(bv, true);
+ break;
}
default:
bv->updateInset(this, true);
break;
- // case LFUN_GETXY:
- // sprintf(dispatch_buffer, "%d %d",);
- // dispatch_result = dispatch_buffer;
- // break;
+ // case LFUN_GETXY:
+ // sprintf(dispatch_buffer, "%d %d",);
+ // dispatch_result = dispatch_buffer;
+ // break;
case LFUN_SETXY: {
lyxerr << "LFUN_SETXY broken!\n";
int x = 0;
}
lyx::Assert(mathcursor);
- //mathcursor->normalize();
- if (//was_macro != mathcursor->inMacroMode() &&
- action >= 0 && action != LFUN_BACKSPACE)
- updateLocal(bv, true);
-
if (mathcursor->selection() || was_selection)
toggleInsetSelection(bv);