mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 03:31:19 +02:00
SynEdit: Fix Word-Markup/Incremental-Search eating CPU by doing excessive amounts of searches
git-svn-id: trunk@18438 -
This commit is contained in:
parent
f7d72691ba
commit
dc10db0cc2
@ -503,7 +503,6 @@ begin
|
||||
if (fSearchString = '') then
|
||||
exit;
|
||||
|
||||
ValidateMatches;
|
||||
if HideSingleMatch and (fMatches.Count <= 1) then exit;
|
||||
|
||||
Pos:= 0;
|
||||
@ -538,7 +537,6 @@ begin
|
||||
if (fSearchString = '') then
|
||||
exit;
|
||||
|
||||
ValidateMatches;
|
||||
if HideSingleMatch and (fMatches.Count <= 1) then exit;
|
||||
|
||||
Pos:= 0;
|
||||
|
Loading…
Reference in New Issue
Block a user