mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
FindAdv: Handle search for quotes
Double quotes will be found if using the string '"' in pattern. Single quotes needs "'" in pattern.
This commit is contained in:
parent
31ac9ed59f
commit
58f70b9da1
@ -851,7 +851,7 @@ void InsetQuotes::latex(otexstream & os, OutputParams const & runparams) const
|
||||
docstring qstr;
|
||||
|
||||
// In pass-thru context, we output plain quotes
|
||||
if (runparams.pass_thru)
|
||||
if (runparams.pass_thru || runparams.for_searchAdv != OutputParams::NoSearch)
|
||||
qstr = (level_ == QuoteLevel::Primary) ? from_ascii("\"") : from_ascii("'");
|
||||
else if (style == QuoteStyle::Plain && fontspec_) {
|
||||
// For XeTeX and LuaTeX,we need to disable mapping to get straight
|
||||
|
Loading…
Reference in New Issue
Block a user