mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 03:49:50 +02:00
revert IDE: procedure list: simplified
git-svn-id: trunk@52681 -
This commit is contained in:
parent
9d6c69f3a0
commit
68301dd8a1
@ -379,11 +379,13 @@ begin
|
||||
or (lCodeTool.Tree.Root = nil) then
|
||||
Exit; //==>
|
||||
|
||||
if Assigned(lCodeTool.Tree) then
|
||||
begin
|
||||
{ Find the starting point }
|
||||
lNode := lCodeTool.FindImplementationNode;
|
||||
if lNode = nil then
|
||||
begin
|
||||
{ fall back - guess we are working with a program or there is a syntax error }
|
||||
{ fall back - guess we are working with a program unit }
|
||||
lNode := lCodeTool.Tree.Root;
|
||||
end;
|
||||
|
||||
@ -397,6 +399,7 @@ begin
|
||||
end;
|
||||
lNode := lNode.NextBrother;
|
||||
end;
|
||||
end; { if }
|
||||
finally
|
||||
if LV.Items.Count > 0 then
|
||||
begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user