mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-04-08 17:15:37 +02:00
When advancing after a regex match, only advance by whole characters.
This commit is contained in:
parent
fd2157729a
commit
557bd79ecd
@ -434,7 +434,7 @@ Sci::Position BoostRegexSearch::SearchParameters::nextCharacter(Sci::Position po
|
||||
if (_skip_windows_line_end_as_one_character && _document->CharAt(position) == '\r' && _document->CharAt(position+1) == '\n')
|
||||
return position + 2;
|
||||
else
|
||||
return position + 1;
|
||||
return _document->NextPosition(position, 1);
|
||||
}
|
||||
|
||||
bool BoostRegexSearch::SearchParameters::isLineStart(Sci::Position position)
|
||||
|
Loading…
x
Reference in New Issue
Block a user