Herbert's multline patch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4900 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-08-08 12:45:38 +00:00
parent e1ed4d9dd4
commit e279f7bbb8

View File

@ -515,7 +515,11 @@ void MathHullInset::mutate(string const & newtype)
}
setType("eqnarray");
mutate(newtype);
} else {
} else if (newtype == "multline" || newtype == "gather") {
setType("multline");
numbered(0, false);
mutate(newtype);
} else {
MathGridInset::addCol(1);
// split it "nicely"
pos_type pos = firstRelOp(cell(0));