]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathSpace.h
Give inset codes to all the math insets, so we get more information when
[features.git] / src / mathed / InsetMathSpace.h
index f45dee5d96727f25c60556f02842b156ad2c37db..5770439660ca827645d851409b32c36cd3b322dd 100644 (file)
@@ -61,6 +61,9 @@ public:
        docstring contextMenu(BufferView const &, int, int) const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       ///
+       InsetCode lyxCode() const { return MATH_SPACE_CODE; }
+
 protected:
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);