From 939962869b4670ac5214152204d5814ebcd00fc8 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 14 Jun 2017 15:38:47 +0200 Subject: [PATCH] Give 4 edit markers to all Frac-like insets Part of bug #10688. --- src/mathed/InsetMathFrac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mathed/InsetMathFrac.h b/src/mathed/InsetMathFrac.h index f82f3b43cd..ba92006a98 100644 --- a/src/mathed/InsetMathFrac.h +++ b/src/mathed/InsetMathFrac.h @@ -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;