mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 23:40:40 +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
|
if (fSearchString = '') then
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
ValidateMatches;
|
|
||||||
if HideSingleMatch and (fMatches.Count <= 1) then exit;
|
if HideSingleMatch and (fMatches.Count <= 1) then exit;
|
||||||
|
|
||||||
Pos:= 0;
|
Pos:= 0;
|
||||||
@ -538,7 +537,6 @@ begin
|
|||||||
if (fSearchString = '') then
|
if (fSearchString = '') then
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
ValidateMatches;
|
|
||||||
if HideSingleMatch and (fMatches.Count <= 1) then exit;
|
if HideSingleMatch and (fMatches.Count <= 1) then exit;
|
||||||
|
|
||||||
Pos:= 0;
|
Pos:= 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user