]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_arrayinset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_arrayinset.h
index 6b15ed72b49be908e7fa4b5ed498f98dda945dcd..f3f9b7d5ee465404a0650bb37ecceff3638c7434 100644 (file)
@@ -25,11 +25,9 @@ public:
                char valign, std::string const & halign);
        ///
        MathArrayInset(std::string const &, char valign, std::string const & halign);
-       /// convienience constructor from whitespace/newline seperated data
+       /// convenience constructor from whitespace/newline separated data
        MathArrayInset(std::string const &, std::string const & str);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -46,8 +44,10 @@ public:
        void normalize(NormalStream & os) const;
        ///
        void maple(MapleStream & os) const;
-
+       ///
+       void validate(LaTeXFeatures & features) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        std::string name_;
 };