Converter: update DirectoryCache

git-svn-id: trunk@41484 -
This commit is contained in:
juha 2013-06-01 15:21:12 +00:00
parent 411a8864be
commit da18117842

View File

@ -768,8 +768,10 @@ begin
MissingIncludeFilesCodeXYPos:=Nil;
OldChange:=LazarusIDE.OpenEditorsOnCodeToolChange;
LazarusIDE.OpenEditorsOnCodeToolChange:=False;
with fCTLink do
try
with fCTLink do
CodeTool.CheckDirectoryCache;
if CodeTool.DirectoryCache=nil then exit;
if CodeTool.FixIncludeFilenames(Code,SrcCache,FoundIncludeFiles,MissingIncludeFilesCodeXYPos)
then begin
if Assigned(FoundIncludeFiles) then begin