]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.h
Fix event loop to no longer eat CPU
[lyx.git] / src / mathed / math_deliminset.h
index 23955f8d009aff28b945cb2221a0e5626a1e24e1..41b1f7044a1cbd1f563c4c41654e7aca5c8f1b41 100644 (file)
@@ -30,12 +30,14 @@ public:
        ///
        MathDelimInset const * asDelimInset() const { return this; }
        /// is it (...)?
-       bool isParanthesis() const;
+       bool isParenthesis() const;
        /// is it [...]?
        bool isBrackets() const;
        /// is it |...|?
        bool isAbs() const;
        ///
+       mode_type currentMode() const { return MATH_MODE; }
+       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;