]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_nestinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_nestinset.h
index 7bb9f08f22e95e9e42625d971e7f2316dfa12a31..72bdcd453664dc5d289816e9ef67a0b8e44ba84e 100644 (file)
@@ -32,14 +32,12 @@ public:
        void draw(PainterInfo & pi, int x, int y) const;
        /// draw selection background
        void drawSelection(PainterInfo & pi, int x, int y) const;
-       /// appends itself with macro arguments substituted
-       void substitute(MathMacro const & macro);
        /// identifies NestInsets
        MathNestInset * asNestInset() { return this; }
        /// identifies NestInsets
        MathNestInset const * asNestInset() const { return this; }
        /// get cursor position
-       void getCursorPos(CursorSlice 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);
        ///
@@ -99,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;