mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
FindAdv: Small improvements
This commit is contained in:
parent
809a063358
commit
70a762f91c
@ -2619,7 +2619,7 @@ void Paragraph::latex(BufferParams const & bparams,
|
||||
runparams);
|
||||
runningChange = Change(Change::UNCHANGED);
|
||||
|
||||
os << (isEnvSeparator(i) ? "}]~" : "}] ");
|
||||
os << ((isEnvSeparator(i) && (runparams.for_search == OutputParams::NoSearch)) ? "}]~" : "}] ");
|
||||
column +=3;
|
||||
}
|
||||
// For InTitle commands, we have already opened a group
|
||||
|
@ -2826,6 +2826,8 @@ string Intervall::show(int lastpos)
|
||||
int idx = 0; /* int intervalls */
|
||||
string s;
|
||||
int i = 0;
|
||||
if ((unsigned) lastpos > par.size())
|
||||
lastpos = par.size();
|
||||
for (idx = 0; idx <= ignoreidx; idx++) {
|
||||
while (i < lastpos) {
|
||||
int printsize;
|
||||
@ -3710,7 +3712,7 @@ MatchResult MatchStringAdv::findAux(DocIterator const & cur, int len, bool at_be
|
||||
mres.match_len = -1;
|
||||
return mres;
|
||||
}
|
||||
LYXERR(Debug::FINDVERBOSE, "After normalization: Matching against:\n'" << str << "'");
|
||||
LYXERR(Debug::FINDVERBOSE|Debug::FIND, "After normalization: Matching against:\n'" << str << "'");
|
||||
|
||||
LASSERT(use_regexp, /**/);
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user