]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathHull.h
Give inset codes to all the math insets, so we get more information when
[features.git] / src / mathed / InsetMathHull.h
index 14c1f0a3967deeca86206f363abd3cdb3f7b725e..12b3acd7d7072f7bcfabebf550e8a8a747ed0e9c 100644 (file)
@@ -142,6 +142,8 @@ public:
 
        ///
        virtual docstring contextMenu(BufferView const &, int, int) const;
+       ///
+       InsetCode lyxCode() const { return MATH_HULL_CODE; }
 
 protected:
        InsetMathHull(InsetMathHull const &);
@@ -218,8 +220,6 @@ public:
        Inset * editXY(Cursor & cur, int x, int y);
        ///
        DisplayType display() const;
-       ///
-       InsetCode lyxCode() const;
 
 protected:
        ///