]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNest.h
Improve the list of equations
[lyx.git] / src / mathed / InsetMathNest.h
index b9cc1f66d48967b076f744084e381b23ef0a6bd5..80f5f6d9d67f3a46f4f78a4f8a0ac20dac607e39 100644 (file)
@@ -13,6 +13,7 @@
 #define MATH_NESTINSET_H
 
 #include "InsetMath.h"
+#include "MathData.h"
 
 #include <map>
 
@@ -190,9 +191,9 @@ private:
        /// afterwards if found
        bool findMacroToFoldUnfold(Cursor & searchCur, bool fold) const;
        /// move cursor forward
-       bool cursorMathForward(Cursor & cur);
+       bool cursorMathForward(Cursor & cur, bool enter = true);
        /// move cursor backwards
-       bool cursorMathBackward(Cursor & cur);
+       bool cursorMathBackward(Cursor & cur, bool enter = true);
 
 protected:
        /// we store the cells in a vector