interpret word-delete-forward/backward as delete/backspace to hotfix

associated crash


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2926 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-10-23 13:56:10 +00:00
parent 616955adb2
commit 79506b1643

View File

@ -409,12 +409,14 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
updateLocal(bv, true);
break;
case LFUN_DELETE_WORD_BACKWARD:
case LFUN_BACKSPACE:
bv->lockedInsetStoreUndo(Undo::DELETE);
mathcursor->backspace();
bv->updateInset(this, true);
break;
case LFUN_DELETE_WORD_FORWARD:
case LFUN_DELETE:
bv->lockedInsetStoreUndo(Undo::DELETE);
mathcursor->erase();