* create math inset
* enter macro name \ww
* press left arrow to re-enter the macro name inset, add a third 'w'.
* when leaving the inset is is updated through notifyCursorLeaves, but no undo group is active
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36596
a592a061-630c-0410-9148-
cb99ea01b6c8
bv->cursor().dispatch(cmd);
// notify insets we just left
+ // FIXME: move this code to Cursor::dispatch
if (bv->cursor() != old) {
+ old.beginUndoGroup();
old.fixIfBroken();
bool badcursor = notifyCursorLeavesOrEnters(old, bv->cursor());
if (badcursor)
bv->cursor().fixIfBroken();
+ old.endUndoGroup();
}
// update completion. We do it here and not in