]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_cursor.h
Fix.
[lyx.git] / src / mathed / math_cursor.h
index adf56233aa2af515c071588699aa6428beb2269f..b0d3a240d63320e3e634e26e2ad805c049737e9d 100644 (file)
@@ -64,10 +64,10 @@ public:
        void insert(MathArray const &);
        ///
        void paste(string const & data);
-       ///
-       void erase();
-       ///
-       void backspace();
+       /// return false for empty math insets
+       bool erase();
+       /// return false for empty math insets
+       bool backspace();
        /// called for LFUN_HOME etc
        bool home(bool sel = false);
        /// called for LFUN_END etc