]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_inset.h
the DocIterator stuff
[lyx.git] / src / mathed / math_inset.h
index 57fcca147b78c62b12f654a98d180210b5cf148f..36ee2b1ac672c1430aec5e6bcd349cc71ab030be 100644 (file)
@@ -77,6 +77,8 @@ class MathInset : public InsetBase {
 public:
        /// identification as math inset
        MathInset * asMathInset() { return this; }
+       /// this is overridden in math text insets (i.e. mbox)
+       bool inMathed() const { return true; }
 
        /// substitutes macro arguments if necessary
        virtual void substitute(MathMacro const & macro);