]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathMBox.h
Give inset codes to all the math insets, so we get more information when
[features.git] / src / mathed / InsetMathMBox.h
index ace477a2f9cecbf6ffea1cb2d5921b348fb1a5e4..3116e7d5858eb0a0795e91e957c1da0e18a17f67 100644 (file)
@@ -51,6 +51,9 @@ public:
        ///
        void cursorPos(BufferView const & bv, CursorSlice const & sl,
                bool boundary, int & x, int & y) const;
+       ///
+       InsetCode lyxCode() const { return MATH_MBOX_CODE; }
+
 protected:
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);