]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_cursor.C
Georg Baum's vspace change
[lyx.git] / src / mathed / math_cursor.C
index 118aefd0b47e98cb967e9fccdb9ecb98c4f2b3fc..2d3400a699c5ea23095d0320112874d657b13960 100644 (file)
@@ -436,8 +436,14 @@ bool MathCursor::backspace()
                }
        }
 
-       --pos();
-       plainErase();
+       if (hasPrevAtom() && prevAtom()->nargs() > 0) {
+               // let's require two backspaces for 'big stuff' and
+               // highlight on the first
+               left(true);
+       } else {
+               --pos();
+               plainErase();
+       }
        return true;
 }