mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 22:39:18 +02:00
IDE: Removed temp conditional from SearchFrm, problem fixed in r.29408
git-svn-id: trunk@29409 -
This commit is contained in:
parent
6c152e5c94
commit
ca3bc870b2
@ -771,17 +771,11 @@ var
|
||||
F: String;
|
||||
begin
|
||||
F := FileName;
|
||||
// ToDo: Remove the IFDEF when a problem with FileProcs.FileIsTextCached is solved.
|
||||
{$IFDEF NoCacheForSearchInFiles}
|
||||
if FileIsReadable(F) and FileIsText(F) then
|
||||
{$ELSE}
|
||||
if FileProcs.FileIsTextCached(F) then
|
||||
{$ENDIF}
|
||||
begin
|
||||
FParent.UpdateProgress(F);
|
||||
FParent.SearchFile(F);
|
||||
end;
|
||||
|
||||
CheckAbort;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user