]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSideset.h
Fixup 097da3a9: fix horizontal navigatiion in InsetMathRoot
[lyx.git] / src / mathed / InsetMathSideset.h
index d5be86316cb5e3bd71f4a5a9e283f74230b54a18..b99e6308d9cd490b1c27578efae0b19d77e44fa6 100644 (file)
@@ -46,10 +46,8 @@ public:
        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
-       bool idxFirst(Cursor & cur) const;
-       /// Target pos when we enter the inset while moving backwards
-       bool idxLast(Cursor & cur) const;
+       /// The index of the cell entered while moving backward
+       size_type lastIdx() const { return 0; }
 
        /// write LaTeX and Lyx code
        void write(WriteStream & os) const;
@@ -104,12 +102,12 @@ private:
        int nasc(BufferView const &) const;
        /// returns descent of nucleus if any
        int ndes(BufferView const &) const;
-       /// returns subscript and superscript kerning of nucleus if any
+       /// Italic correction as described in InsetMathScript.h
        int nker(BufferView const * bv) const;
        /// Whether there are two left scripts or one single cell
-       bool scriptl_; 
+       bool scriptl_;
        /// Whether there are two right scripts or one single cell
-       bool scriptr_; 
+       bool scriptr_;
 };