x += 2;
}
+
void MathNestInset::substitute(MathMacro const & m)
{
for (idx_type i = 0; i < nargs(); ++i)
}
-void MathNestInset::notifyCursorLeaves()
-{}
+void MathNestInset::notifyCursorLeaves(idx_type idx)
+{
+ cell(idx).notifyCursorLeaves();
+}
MathInset::result_type MathNestInset::dispatch
case LFUN_PASTESELECTION:
return
- dispatch(FuncRequest(bv, LFUN_PASTE, bv->getClipboard()), idx, pos);
-
+ dispatch(
+ FuncRequest(bv, LFUN_PASTE, bv->getClipboard()), idx, pos);
+
case LFUN_MOUSE_PRESS:
if (cmd.button() == mouse_button::button2)
return dispatch(FuncRequest(bv, LFUN_PASTESELECTION), idx, pos);
return UNDISPATCHED;
- default:
+ default:
return MathInset::dispatch(cmd, idx, pos);
}
return UNDISPATCHED;