]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.h
We only support gcc >= 4.9.
[lyx.git] / src / mathed / InsetMathScript.h
index 737d7c3ab24192839e95919868e237350222cad7..9615d1997927e37adbe8c3196f07507721e6cc59 100644 (file)
@@ -32,6 +32,10 @@ public:
        InsetMathScript(Buffer * buf, MathAtom const & at, bool up);
        ///
        mode_type currentMode() const override { return MATH_MODE; }
+       /// whether the inset has limit-like sub/superscript
+       Limits limits() const override;
+       /// sets types of sub/superscripts
+       void limits(Limits lim) override;
        ///
        MathClass mathClass() const override;
        ///
@@ -50,10 +54,10 @@ public:
        /// move cursor up or down
        bool idxUpDown(Cursor & cur, bool up) const override;
        /// The index of the cell entered while moving backward
-       size_type lastIdx() const { return 0; }
+       size_type lastIdx() const override { return 0; }
 
        /// write LaTeX and Lyx code
-       void write(WriteStream & os) const override;
+       void write(TeXMathStream & os) const override;
        /// write normalized content
        void normalize(NormalStream &) const override;
        /// write content as something readable by Maple
@@ -61,7 +65,7 @@ public:
        /// write content as something readable by Mathematica
        void mathematica(MathematicaStream &) const override;
        /// write content as MathML
-       void mathmlize(MathStream &) const override;
+       void mathmlize(MathMLStream &) const override;
        /// write content as HTML
        void htmlize(HtmlStream &) const override;
        /// write content as something readable by Octave