]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRoot.h
Revert "DocBook: make openParTag/closeTag use paragraphs instead of layouts."
[lyx.git] / src / mathed / InsetMathRoot.h
index cb5c34ff2029d6890dc76dfd06721e15d54990d6..144ecdf7a6ece8f72b034b278ec19a6148c3ec68 100644 (file)
@@ -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;