IDE: Removed temp conditional from SearchFrm, problem fixed in r.29408

git-svn-id: trunk@29409 -
This commit is contained in:
juha 2011-02-07 11:26:23 +00:00
parent 6c152e5c94
commit ca3bc870b2

View File

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