]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathOverset.h
Assure correct spacing of colored items in mathed
[lyx.git] / src / mathed / InsetMathOverset.h
index eb6b86b7988f34fcb49b8c45eacca467497ae8e7..d7b8353922ef6bde3802b3cd8872b97290317198 100644 (file)
@@ -22,7 +22,7 @@ namespace lyx {
 class InsetMathOverset : public InsetMathFracBase {
 public:
        ///
-       InsetMathOverset(Buffer * buf) : InsetMathFracBase(buf) {}
+       explicit InsetMathOverset(Buffer * buf) : InsetMathFracBase(buf) {}
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -30,6 +30,10 @@ public:
        ///
        bool idxUpDown(Cursor & cur, bool up) const;
        ///
+       bool idxFirst(Cursor &) const;
+       ///
+       bool idxLast(Cursor &) const;
+       ///
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;