]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_amsarrayinset.h
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_amsarrayinset.h
index 4792e974a3c19de41c04386696c81ceef08da4f2..9f3901fe5407ddcb8f56f4f434e4163e0fdea11a 100644 (file)
 class MathAMSArrayInset : public MathGridInset {
 public:
        ///
-       MathAMSArrayInset(string const & name, int m, int n);
+       MathAMSArrayInset(std::string const & name, int m, int n);
        ///
-       MathAMSArrayInset(string const & name);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       MathAMSArrayInset(std::string const & name);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -37,15 +35,17 @@ public:
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
-
+       ///
+       void validate(LaTeXFeatures & features) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        char const * name_left() const;
        ///
        char const * name_right() const;
 
        ///
-       string name_;
+       std::string name_;
 };
 
 #endif