]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_nestinset.h
Get raising/lowering into super/subscripts of selection working (1.3
[lyx.git] / src / mathed / math_nestinset.h
index fb9d3b313479aca6bfd86c82a33941af28f92589..dda150a6dbd282394c9db5e78100b38163bc496e 100644 (file)
@@ -37,11 +37,11 @@ public:
        /// identifies NestInsets
        MathNestInset const * asNestInset() const { return this; }
        /// get cursor position
-       void getCursorPos(LCursor const & cur, int & x, int & y) const;
+       void cursorPos(CursorSlice const & sl, bool boundary, int & x, int & y) const;
        ///
        void edit(LCursor & cur, bool left);
        ///
-       InsetBase * editXY(LCursor & cur, int x, int y) const;
+       InsetBase * editXY(LCursor & cur, int x, int y);
 
        /// order of movement through the cells when pressing the left key
        bool idxLeft(LCursor &) const;
@@ -128,6 +128,8 @@ protected:
        cells_type cells_;
        /// if the inset is locked, it can't be entered with the cursor
        bool lock_;
+       ///
+       std::string safe_;
 };
 
 #endif