]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macro.h
fix pullArg when pressing <Delete> at the end of an cell
[lyx.git] / src / mathed / math_macro.h
index d3186cd3607d3134e625ae4c7b565ea7137bc5bc..f40f3df82905160247fc2608802b40bd47af02ed 100644 (file)
@@ -39,11 +39,13 @@ public:
        /// A macro can be built from an existing template
        explicit MathMacro(MathMacroTemplate const &);
        ///
+       MathMacro(MathMacro const &);
+       ///
        void draw(Painter &, int, int);
        ///
-       void Metrics(MathStyles st);
+       void Metrics(MathStyles st, int asc = 0, int des = 0);
        ///
-       MathInset * Clone() const;
+       MathInset * clone() const;
        ///
        void Write(std::ostream &, bool fragile) const;
        ///
@@ -60,11 +62,16 @@ public:
        ///
        bool idxRight(int &, int &) const;
 
+       ///
+       void Validate(LaTeXFeatures &) const;
+
 private:
        ///
        MathMacroTemplate const * const tmplate_;
        ///
        MathXArray expanded_;
+       ///
+       void operator=(MathMacro const &);
 };