]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSideset.h
Fix assertion when checking if change in selection
[lyx.git] / src / mathed / InsetMathSideset.h
index b88548bdb5be4d52da9094a56630d027329b7f5a..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;