mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 01:39:42 +02:00
codetools: added TCodeBuffer.InvalidateLoadDate
git-svn-id: trunk@51369 -
This commit is contained in:
parent
9f7a580842
commit
3c2bf43f60
@ -95,6 +95,7 @@ type
|
||||
procedure IncrementRefCount;
|
||||
procedure ReleaseRefCount;
|
||||
procedure MakeFileDateValid;
|
||||
procedure InvalidateLoadDate;
|
||||
function SourceIsText: boolean;
|
||||
public
|
||||
property CodeCache: TCodeCache read FCodeCache write FCodeCache;
|
||||
@ -1419,6 +1420,11 @@ begin
|
||||
FLoadDate:=FileAgeCached(Filename);
|
||||
end;
|
||||
|
||||
procedure TCodeBuffer.InvalidateLoadDate;
|
||||
begin
|
||||
FLoadDateValid:=false;
|
||||
end;
|
||||
|
||||
function TCodeBuffer.SourceIsText: boolean;
|
||||
var
|
||||
l: LongInt;
|
||||
|
Loading…
Reference in New Issue
Block a user