]> git.lyx.org Git - features.git/commitdiff
Give 4 edit markers to all Frac-like insets
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 14 Jun 2017 13:38:47 +0000 (15:38 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 14 Jun 2017 13:38:47 +0000 (15:38 +0200)
Part of bug #10688.

src/mathed/InsetMathFrac.h

index f82f3b43cd09ea7ff47bb0d1f2263975b1d3f4b9..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; }
@@ -125,8 +127,6 @@ public:
        /// Generalized fractions are of inner class (see The TeXbook, p.292)
        MathClass mathClass() const { return MC_INNER; }
        ///
-       marker_type marker(BufferView const *) const { return MARKER2; }
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;