From: André Pönitz Date: Thu, 16 Jan 2003 11:34:10 +0000 (+0000) Subject: smaller steps for undo when deleting stuff in mathed X-Git-Tag: 1.6.10~17675 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=29b5e430264f9d39251ffff724b46b34bc3431ef;p=lyx.git smaller steps for undo when deleting stuff in mathed git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5966 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index 1245cd44f3..d2295a967e 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -560,14 +560,14 @@ Inset::RESULT InsetFormulaBase::localDispatch(FuncRequest const & cmd) case LFUN_DELETE_WORD_BACKWARD: case LFUN_BACKSPACE: - bv->lockedInsetStoreUndo(Undo::DELETE); + bv->lockedInsetStoreUndo(Undo::EDIT); mathcursor->backspace(); updateLocal(bv, true); break; case LFUN_DELETE_WORD_FORWARD: case LFUN_DELETE: - bv->lockedInsetStoreUndo(Undo::DELETE); + bv->lockedInsetStoreUndo(Undo::EDIT); mathcursor->erase(); bv->updateInset(this, true); break;