]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_mboxinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_mboxinset.h
index f1926208270ce37b4118b27fd3ee20c5ffabbb1a..59f13be5067a324c6f9d1a8e928088b45e98c6e7 100644 (file)
@@ -27,6 +27,8 @@ public:
        /// draw according to cached metrics
        void draw(PainterInfo &, int x, int y) const;
        ///
+       void drawSelection(PainterInfo & pi, int x, int y) const;
+       ///
        bool inMathed() const { return false; }
        ///
        bool isActive() const { return true; }
@@ -39,7 +41,7 @@ public:
        ///
        LyXText * getText(int) const;
        ///
-       void getCursorPos(LCursor const & cur, int & x, int & y) const;
+       void cursorPos(CursorSlice const & sl, bool boundary, int & x, int & y) const;
 protected:
        virtual void doDispatch(LCursor & cur, FuncRequest & cmd);