mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
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:
parent
a88e5cbf74
commit
6a3792bdbb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user