]> git.lyx.org Git - features.git/commitdiff
Fix #7549, due to a problem in exporting to plaintext a
authorTommaso Cucinotta <tommaso@lyx.org>
Wed, 11 May 2011 18:59:54 +0000 (18:59 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Wed, 11 May 2011 18:59:54 +0000 (18:59 +0000)
multicell inset, where we now export all of the cells
separated by "\t", instead of only the first cell.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38712 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathHull.cpp

index 308ea599eee55ce23ddf817c72ffadb2a77e8e9f..4e66925d2013435daefaa79684b88800efefb3e1 100644 (file)
@@ -1897,7 +1897,8 @@ int InsetMathHull::plaintext(odocstream & os, OutputParams const &) const
                if (type_ == hullRegexp)
                        write(wi);
                else
-                       wi << cell(0);
+                       for (idx_type i = 0; i < nargs(); ++i)
+                               wi << (i == 0 ? "" : "\t") << cell(i);
                docstring const str = oss.str();
                os << str;
                return str.size();