]> git.lyx.org Git - features.git/blobdiff - src/mathed/formulabase.C
prepare re-enabling LaTeX feature validation
[features.git] / src / mathed / formulabase.C
index 49db390786cbc6aafa54276a34eb1e08371daeaf..be33157899905962d0174a8ebd0c7d10274b1d7b 100644 (file)
@@ -573,14 +573,14 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
                break;
 
        case LFUN_BACKSPACE:
-               if (!mathcursor->InMacroMode() && mathcursor->pos() == 0) {
+               // if (!mathcursor->InMacroMode() && mathcursor->pos() == 0)
+               if (mathcursor->pos() == 0) {
                        bv->lockedInsetStoreUndo(Undo::DELETE);
                        mathcursor->pullArg();
                        bv->updateInset(this, true);
                        break;
                }
-               if (!mathcursor->Left())
-                       break;
+               mathcursor->plainLeft();
                // fall through...
 
        case LFUN_DELETE: