]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrac.h
Restore correct left/right navigation in root inset
[lyx.git] / src / mathed / InsetMathFrac.h
index 9d5484487687932368f8bd45dc2be588cd4f47c1..ba92006a985a976a8bbfe5f5196657a344e1a122 100644 (file)
@@ -25,6 +25,8 @@ public:
        ///
        InsetMathFracBase(Buffer * buf, idx_type ncells = 2);
        ///
+       marker_type marker(BufferView const *) const { return MARKER2; }
+       ///
        bool idxUpDown(Cursor &, bool up) const;
        ///
        bool idxBackward(Cursor &) const { return false; }
@@ -128,9 +130,6 @@ public:
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
-       /// draw decorations.
-       void drawDecoration(PainterInfo & pi, int x, int y) const
-       { drawMarkers2(pi, x, y); }
        ///
        bool extraBraces() const;
        ///