]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathStackrel.h
Fix assertion when checking if change in selection
[lyx.git] / src / mathed / InsetMathStackrel.h
index 2dc7a4975c5043230ace25d3a0a5ef8dcd1cb9d9..5740fb922b04136ad171e47fa728c7e365908388 100644 (file)
@@ -24,16 +24,16 @@ public:
        ///
        bool idxUpDown(Cursor &, bool up) const;
        ///
+       bool idxFirst(Cursor &) const;
+       ///
+       bool idxLast(Cursor &) const;
+       ///
        MathClass mathClass() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       idx_type firstIdx() const { return 1; }
-       ///
-       idx_type lastIdx() const { return 1; }
-       ///
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;