]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_scriptinset.h
code cosmetics to the iterator fix
[lyx.git] / src / mathed / math_scriptinset.h
index b6fa642d1d9a9506bc33b99066faf21a702ce6ca..52beb7073f06b2418328cea41ac31fefcea20519 100644 (file)
@@ -28,6 +28,8 @@ public:
        /// create inset with single script and given nucleus
        MathScriptInset(MathAtom const & at, bool up);
        ///
+       mode_type currentMode() const { return MATH_MODE; }
+       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;