From: Tommaso Cucinotta Date: Wed, 11 May 2011 18:59:54 +0000 (+0000) Subject: Fix #7549, due to a problem in exporting to plaintext a X-Git-Tag: 2.1.0beta1~3277 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bca9a6ca73b05856eb24f38795d67fdefa939878;p=features.git 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 --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 308ea599ee..4e66925d20 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -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();