mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 16:00:23 +02:00
codetools: fixed identifier completion in top level node
git-svn-id: trunk@19797 -
This commit is contained in:
parent
b41d00e4e3
commit
9f6417e73c
@ -1410,7 +1410,9 @@ begin
|
||||
GatherContext.Node:=GatherContext.Node.Parent;
|
||||
end
|
||||
else if (GatherContext.Node.Desc=ctnClassInheritance)
|
||||
or (GatherContext.Node.Parent.Desc=ctnClassInheritance) then begin
|
||||
or ((GatherContext.Node.Parent<>nil)
|
||||
and (GatherContext.Node.Parent.Desc=ctnClassInheritance))
|
||||
then begin
|
||||
while not (GatherContext.Node.Desc in [ctnClass,ctnClassInterface]) do
|
||||
GatherContext.Node:=GatherContext.Node.Parent;
|
||||
GatherContext.Node:=GatherContext.Node.Parent;
|
||||
|
Loading…
Reference in New Issue
Block a user