mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 19:59:14 +02:00
codetools: TCodeBuffer.FileOnDiskNeedsUpdate using cache
git-svn-id: trunk@24341 -
This commit is contained in:
parent
f2c2d16901
commit
9b4acf11b6
@ -1029,7 +1029,7 @@ function TCodeBuffer.FileOnDiskNeedsUpdate: boolean;
|
|||||||
begin
|
begin
|
||||||
if LoadDateValid then
|
if LoadDateValid then
|
||||||
Result:=Modified or (FFileChangeStep<>ChangeStep)
|
Result:=Modified or (FFileChangeStep<>ChangeStep)
|
||||||
or (not FileExistsUTF8(Filename))
|
or (not FileExistsCached(Filename))
|
||||||
else
|
else
|
||||||
Result:=false;
|
Result:=false;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user