]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathScript.h
index ad6b1f5c5e540b7e5d62f51aaad80299750dca60..a22cae95f4fd9372984ee01e27662735dcaeffcf 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,11 +125,11 @@ 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.
-       bool notifyCursorLeaves(Cursor & cur);
+       bool notifyCursorLeaves(Cursor const & old, Cursor & cur);
 
        /// possible subscript (index 0) and superscript (index 1)
        bool cell_1_is_up_;