]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_hullinset.C
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_hullinset.C
index 52044b8ef0cf8bbe45f5fb458f2f069caa37b568..c70f25fa74e1a67a200af0f49a9f8c15d506c37a 100644 (file)
@@ -331,7 +331,7 @@ void MathHullInset::validate(LaTeXFeatures & features) const
        features.require("boldsymbol");
        //features.binom      = true;
 
-       MathNestInset::validate(features);
+       MathGridInset::validate(features);
 }
 
 
@@ -391,7 +391,7 @@ void MathHullInset::footer_write(WriteStream & os) const
        else if (type_ == "eqnarray" || type_ == "align" || type_ == "flalign"
                 || type_ == "alignat" || type_ == "xalignat"
                 || type_ == "gather" || type_ == "multline")
-               os << "\\end{" << type_ << star(n) << "}\n";
+               os << "\\end{" << type_ << star(n) << "}\n";
 
        else if (type_ == "xxalignat")
                os << "\\end{" << type_ << "}\n";
@@ -743,7 +743,7 @@ void MathHullInset::doExtern
 }
 
 
-MathInset::result_type MathHullInset::dispatch
+dispatch_result MathHullInset::dispatch
        (FuncRequest const & cmd, idx_type & idx, pos_type & pos)
 {
        switch (cmd.action) {
@@ -768,7 +768,6 @@ MathInset::result_type MathHullInset::dispatch
                                        for (row_type row = 0; row < nrows(); ++row)
                                                numbered(row, !old);
                                //bv->owner()->message(old ? _("No number") : _("Number"));
-                               //updateLocal(bv, true);
                        }
                        return DISPATCHED;
 
@@ -779,7 +778,6 @@ MathInset::result_type MathHullInset::dispatch
                                bool old = numbered(r);
                                //bv->owner()->message(old ? _("No number") : _("Number"));
                                numbered(r, !old);
-                               //updateLocal(bv, true);
                        }
                        return DISPATCHED;