Give 4 edit markers to all Frac-like insets

Part of bug #10688.
This commit is contained in:
Jean-Marc Lasgouttes 2017-06-14 15:38:47 +02:00
parent 2e84b8030e
commit 939962869b

View File

@ -25,6 +25,8 @@ public:
/// ///
InsetMathFracBase(Buffer * buf, idx_type ncells = 2); InsetMathFracBase(Buffer * buf, idx_type ncells = 2);
/// ///
marker_type marker(BufferView const *) const { return MARKER2; }
///
bool idxUpDown(Cursor &, bool up) const; bool idxUpDown(Cursor &, bool up) const;
/// ///
bool idxBackward(Cursor &) const { return false; } bool idxBackward(Cursor &) const { return false; }
@ -125,8 +127,6 @@ public:
/// Generalized fractions are of inner class (see The TeXbook, p.292) /// Generalized fractions are of inner class (see The TeXbook, p.292)
MathClass mathClass() const { return MC_INNER; } MathClass mathClass() const { return MC_INNER; }
/// ///
marker_type marker(BufferView const *) const { return MARKER2; }
///
void metrics(MetricsInfo & mi, Dimension & dim) const; void metrics(MetricsInfo & mi, Dimension & dim) const;
/// ///
void draw(PainterInfo &, int x, int y) const; void draw(PainterInfo &, int x, int y) const;