Properly use top/bottom edit marker for grid inset

This was an oversight when marker() was introduced.

Fixes part of #10688.
This commit is contained in:
Jean-Marc Lasgouttes 2017-06-08 16:03:14 +02:00
parent 5a3962958f
commit 29fbd062cc

View File

@ -100,6 +100,8 @@ public:
InsetMathGrid(Buffer * buf, col_type m, row_type n, char valign, InsetMathGrid(Buffer * buf, col_type m, row_type n, char valign,
docstring const & halign); docstring const & halign);
/// ///
marker_type marker(BufferView const *) const { return MARKER2; };
///
void metrics(MetricsInfo & mi, Dimension &) const; void metrics(MetricsInfo & mi, Dimension &) const;
/// ///
void draw(PainterInfo & pi, int x, int y) const; void draw(PainterInfo & pi, int x, int y) const;