]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.h
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / InsetMathScript.h
index ad6b1f5c5e540b7e5d62f51aaad80299750dca60..e851e2b371e4ae02e2c49450bf068494852dc20e 100644 (file)
@@ -41,10 +41,10 @@ public:
        ///
        void drawT(TextPainter & pi, int x, int y) const;
 
-       /// move cursor left
-       bool idxLeft(Cursor & cur) const;
-       /// move cursor right
-       bool idxRight(Cursor & cur) const;
+       /// move cursor backwards
+       bool idxBackward(Cursor & cur) const;
+       /// move cursor forward
+       bool idxForward(Cursor & cur) const;
        /// move cursor up or down
        bool idxUpDown(Cursor & cur, bool up) const;
        /// Target pos when we enter the inset while moving forward
@@ -125,7 +125,7 @@ private:
        /// returns descent of nucleus if any
        int ndes(BufferView const &) const;
        /// returns superscript kerning of nucleus if any
-       int nker() const;
+       int nker(BufferView const * bv) const;
        /// where do we have to draw the scripts?
        bool hasLimits() const;
        /// clean up empty cells and return true if a cell has been deleted.