codetools: TCodeBuffer.FileOnDiskNeedsUpdate using cache

git-svn-id: trunk@24341 -
This commit is contained in:
mattias 2010-04-01 11:19:19 +00:00
parent f2c2d16901
commit 9b4acf11b6

View File

@ -1029,7 +1029,7 @@ function TCodeBuffer.FileOnDiskNeedsUpdate: boolean;
begin
if LoadDateValid then
Result:=Modified or (FFileChangeStep<>ChangeStep)
or (not FileExistsUTF8(Filename))
or (not FileExistsCached(Filename))
else
Result:=false;
end;