}
case LFUN_MATH_DISPLAY:
+ {
+ int x;
+ int y;
+ mathcursor->GetPos(x, y);
if (par()->GetType() == LM_OT_SIMPLE) {
par()->mutate(LM_OT_EQUATION);
par()->numbered(0, false);
}
else
par()->mutate(LM_OT_SIMPLE);
+ mathcursor->SetPos(x, y);
+ mathcursor->normalize();
updateLocal(bv);
break;
+ }
default:
result = InsetFormulaBase::localDispatch(bv, action, arg);