Let non-ASCII chars within regexp insets match their occurrence within TEXT, rather than MATHS (seems the most recurrently needed scenario).

See also: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg177747.html
This commit is contained in:
Tommaso Cucinotta 2013-04-07 23:28:41 +01:00
parent a88e5cbf74
commit 6a3792bdbb

View File

@ -1240,7 +1240,8 @@ docstring InsetMathHull::eolString(row_type row, bool fragile, bool latex,
void InsetMathHull::write(WriteStream & os) const
{
ModeSpecifier specifier(os, MATH_MODE);
ModeSpecifier specifier(os,
type_ == hullRegexp ? TEXT_MODE : MATH_MODE);
header_write(os);
InsetMathGrid::write(os);
footer_write(os);