mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 09:56:12 +02:00
SynEdit Markup, disable word search, if highlight is clNone
git-svn-id: trunk@18435 -
This commit is contained in:
parent
e68aad0b6c
commit
ebb9b257f7
@ -401,7 +401,7 @@ var
|
||||
Pos : Integer;
|
||||
ptStart, ptEnd, ptFoundStart, ptFoundEnd: TPoint;
|
||||
begin
|
||||
if (fSearchString = '') then begin
|
||||
if (fSearchString = '') or (not MarkupInfo.IsEnabled) then begin
|
||||
fMatches.Count := 0;
|
||||
exit;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user