I'd like to be able to undo a single deletion even if there are several
in a row. Current behaviour is simply to annoyning for my taste.

[Did anybody notice that the quality of food improves if the cook is foeced
to eat it, too?]

Ok?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)
? tmp.diff
? 1.diff
? cut.diff
? crash.diff
? haveit
? script.diff
? all
? rmcopyright.sh
? shared_ptr.diff
Index: formulabase.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/formulabase.C,v
retrieving revision 1.231
diff -u -p -r1.231 formulabase.C
--- formulabase.C       8 Jan 2003 17:38:47 -0000       1.231
+++ formulabase.C       10 Jan 2003 17:29:04 -0000
@@ -560,14 +560,14 @@ Inset::RESULT InsetFormulaBase::localDis
 
        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;

Reply via email to