]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.h
A little cleanup of the layout files.
[lyx.git] / src / mathed / MathMacroTemplate.h
index 80a0f9acba6adcf68316478cd50faf2382d30301..dea1acf28ed406992056c2ed3e2cbc236ebda39b 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -36,7 +36,7 @@ public:
        ///
        explicit MathMacroTemplate(const docstring & str);
        ///
-       EDITABLE editable() const { return HIGHLY_EDITABLE; }
+       bool editable() const { return true; }
        ///
        void edit(Cursor & cur, bool front, EntryDirection entry_from);
        ///
@@ -98,6 +98,8 @@ public:
        InsetCode lyxCode() const { return MATHMACRO_CODE; }
        ///
        void infoize(odocstream & os) const;
+       ///
+       docstring contextMenu(BufferView const &, int, int) const;
 
 protected:
        ///