]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.h
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / MathMacroTemplate.h
index 2633d6c4c28def4e54fa4fb816dfa9af6295aab3..6f2fa1d3b7e03b7696760bdf4f3390a82fb948a1 100644 (file)
@@ -38,9 +38,7 @@ public:
        ///
        EDITABLE editable() const { return HIGHLY_EDITABLE; }
        ///
-       void edit(Cursor & cur, bool left);
-       ///
-       Inset * editXY(Cursor & cur, int x, int y);
+       void edit(Cursor & cur, bool front, EntryDirection entry_from);
        ///
        bool notifyCursorLeaves(Cursor & cur);
        ///
@@ -82,6 +80,9 @@ public:
        /// Remove everything from the name which makes it invalid 
        /// and return true iff it is valid.
        bool fixNameAndCheckIfValid();
+       
+       /// request "external features"
+       virtual void validate(LaTeXFeatures &) const;
 
        /// decide whether its a redefinition
        void updateToContext(MacroContext const & mc) const;