X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathGrid.h;h=886d03a8ee3321e33661988bcf20c32862ff9576;hb=71623b88b2c613dd4ab826a9783a53e840bcd6e1;hp=61e7e235c8a7cbe3b1294bbbe5cfa58fdf732b7f;hpb=324e5571cafe7838a1d3ecd5cb2b3dd7e8d54bbe;p=lyx.git diff --git a/src/mathed/InsetMathGrid.h b/src/mathed/InsetMathGrid.h index 61e7e235c8..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; /// @@ -211,6 +208,8 @@ public: virtual int vlinesep() const; /// virtual int border() const; + /// + virtual bool handlesMulticolumn() const { return false; } /// void write(WriteStream & os) const; @@ -246,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,