mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 11:39:13 +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;
|
F: String;
|
||||||
begin
|
begin
|
||||||
F := FileName;
|
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
|
if FileProcs.FileIsTextCached(F) then
|
||||||
{$ENDIF}
|
|
||||||
begin
|
begin
|
||||||
FParent.UpdateProgress(F);
|
FParent.UpdateProgress(F);
|
||||||
FParent.SearchFile(F);
|
FParent.SearchFile(F);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
CheckAbort;
|
CheckAbort;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user