]> git.lyx.org Git - features.git/commitdiff
Properly use top/bottom edit marker for grid inset
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 8 Jun 2017 14:03:14 +0000 (16:03 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 8 Jun 2017 14:03:14 +0000 (16:03 +0200)
This was an oversight when marker() was introduced.

Fixes part of #10688.

src/mathed/InsetMathGrid.h

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