X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathGrid.h;h=886d03a8ee3321e33661988bcf20c32862ff9576;hb=71623b88b2c613dd4ab826a9783a53e840bcd6e1;hp=4300dc31881d6f580c67823f97b2736e2fde07c2;hpb=1c84d0ca821f847eb34a848dc7150007f2c8c46b;p=lyx.git diff --git a/src/mathed/InsetMathGrid.h b/src/mathed/InsetMathGrid.h index 4300dc3188..886d03a8ee 100644 --- a/src/mathed/InsetMathGrid.h +++ b/src/mathed/InsetMathGrid.h @@ -103,9 +103,6 @@ public: void metrics(MetricsInfo & mi, Dimension &) const; /// void draw(PainterInfo & pi, int x, int y) const; - /// draw decorations. - void drawDecoration(PainterInfo & pi, int x, int y) const - { drawMarkers2(pi, x, y); } /// void metricsT(TextMetricsInfo const & mi, Dimension & dim) const; /// @@ -248,9 +245,9 @@ protected: /// Width of cell, taking combined columns into account int cellWidth(idx_type idx) const; /// - virtual int leftMargin() const { return 1; } + virtual int leftMargin() const { return 0; } /// - virtual int rightMargin() const { return 1; } + virtual int rightMargin() const { return 0; } /// returns proper 'end of line' code for LaTeX virtual docstring eolString(row_type row, bool fragile, bool latex,