]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_nestinset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_nestinset.h
index 012f1542ae67182f2c55678d741ad35a24f40676..4e3af6185e8253cb737f723f6c1f7ce5e4e80f70 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 getCursorPos(CursorSlice const & sl, int & x, int & y) const;
        ///
        void edit(LCursor & cur, bool left);
        ///
-       InsetBase * editXY(LCursor & cur, int x, int y);
+       InsetBase * editXY(LCursor & cur, int x, int y) const;
 
        /// order of movement through the cells when pressing the left key
        bool idxLeft(LCursor &) const;
@@ -97,7 +97,7 @@ public:
 
 protected:
        ///
-       void priv_dispatch(LCursor & cur, FuncRequest & cmd);
+       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
        /// do we want to handle this event?
        bool getStatus(LCursor & cur, FuncRequest const & cmd,
                FuncStatus & status) const;