mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
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:
parent
616955adb2
commit
79506b1643
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user