]> 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 1202bbcfd42c1d81796477cc5c4e79629c6893f1..d7b8353922ef6bde3802b3cd8872b97290317198 100644 (file)
@@ -22,15 +22,17 @@ 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;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       idx_type firstIdx() const { return 1; }
+       bool idxUpDown(Cursor & cur, bool up) const;
        ///
-       idx_type lastIdx() const { return 1; }
+       bool idxFirst(Cursor &) const;
+       ///
+       bool idxLast(Cursor &) const;
        ///
        void write(WriteStream & os) const;
        ///