Fix #7549, due to a problem in exporting to plaintext a

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
This commit is contained in:
Tommaso Cucinotta 2011-05-11 18:59:54 +00:00
parent 5e52eb2dc2
commit bca9a6ca73

View File

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