From 63ee0ee9629cc2d673b4844f74057b451d0467bb Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Wed, 11 May 2011 19:07:01 +0000 Subject: [PATCH] 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/branches/BRANCH_2_0_X@38713 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathHull.cpp | 3 ++- status.20x | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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(); diff --git a/status.20x b/status.20x index 6499f72041..673409dd88 100644 --- a/status.20x +++ b/status.20x @@ -66,6 +66,9 @@ What's new - Fixed XHTML output for tables that use multirow. +- Fixed export to plaintext of, as well as searching within, + a document containing aligned and other multi-cell environments + (bug ##7549). * USER INTERFACE -- 2.39.5