mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 11:19:10 +02:00
IDE: codebrowser: ignore links without code
git-svn-id: trunk@38587 -
This commit is contained in:
parent
98c758d90d
commit
0108bc7d1f
@ -1649,6 +1649,7 @@ procedure TCodeBrowserView.WorkUpdateUnit(AnUnit: TCodeBrowserUnit);
|
||||
for i:=0 to Tool.Scanner.LinkCount-1 do begin
|
||||
Link:=Tool.Scanner.Links[i];
|
||||
CodeBuf:=TCodeBuffer(Link.Code);
|
||||
if CodeBuf=nil then continue;
|
||||
if CodeBuf<>LastCode then begin
|
||||
inc(LineCnt,CodeBuf.LineCount);
|
||||
inc(ByteCnt,CodeBuf.SourceLength);
|
||||
|
Loading…
Reference in New Issue
Block a user