X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathRoot.h;h=144ecdf7a6ece8f72b034b278ec19a6148c3ec68;hb=21c92c8a129b5f3ff56de33bf2941a25967cffbb;hp=cb5c34ff2029d6890dc76dfd06721e15d54990d6;hpb=503c7c1688bee80a2c5dc472aaf97fb2aa0391e0;p=lyx.git diff --git a/src/mathed/InsetMathRoot.h b/src/mathed/InsetMathRoot.h index cb5c34ff20..144ecdf7a6 100644 --- a/src/mathed/InsetMathRoot.h +++ b/src/mathed/InsetMathRoot.h @@ -23,17 +23,22 @@ namespace lyx { class InsetMathRoot : public InsetMathNest { public: /// - InsetMathRoot(Buffer * buf); + explicit InsetMathRoot(Buffer * buf); /// bool idxUpDown(Cursor & cur, bool up) const; /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool idxForward(Cursor & cur) const; /// - void draw(PainterInfo & pi, int x, int y) const; + bool idxBackward(Cursor & cur) const; /// - idx_type firstIdx() const { return 1; } + bool idxFirst(Cursor &) const; + /// + bool idxLast(Cursor &) const; + /// - idx_type lastIdx() const { return 1; } + void metrics(MetricsInfo & mi, Dimension & dim) const; + /// + void draw(PainterInfo & pi, int x, int y) const; /// void write(WriteStream & os) const;