SynEdit: Fix Word-Markup/Incremental-Search eating CPU by doing excessive amounts of searches

git-svn-id: trunk@18438 -
This commit is contained in:
martin 2009-01-25 12:59:13 +00:00
parent f7d72691ba
commit dc10db0cc2

View File

@ -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;