X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathNest.h;h=80f5f6d9d67f3a46f4f78a4f8a0ac20dac607e39;hb=5fdc577badb1cb133d6a0dc7d831bb1f82576adb;hp=b9cc1f66d48967b076f744084e381b23ef0a6bd5;hpb=9c55af4a223ce4db29d643251109e245665344bd;p=lyx.git diff --git a/src/mathed/InsetMathNest.h b/src/mathed/InsetMathNest.h index b9cc1f66d4..80f5f6d9d6 100644 --- a/src/mathed/InsetMathNest.h +++ b/src/mathed/InsetMathNest.h @@ -13,6 +13,7 @@ #define MATH_NESTINSET_H #include "InsetMath.h" +#include "MathData.h" #include @@ -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