mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 15:41:45 +02:00
IDE: codeobserver: fixed crash
git-svn-id: trunk@26420 -
This commit is contained in:
parent
e16c63743c
commit
3f6251657d
@ -977,9 +977,10 @@ procedure TCodeExplorerView.CreateObservations(Tool: TCodeTool);
|
||||
if CodeNode.Desc in AllIdentifierDefinitions then begin
|
||||
if not NodeSorted(CodeNode) then exit;
|
||||
// skip all variables in a group (e.g. Next,Prev:TNode)
|
||||
while CodeNode.FirstChild=nil do
|
||||
while CodeNode.FirstChild=nil do begin
|
||||
CodeNode:=CodeNode.NextBrother;
|
||||
if CodeNode=nil then break;
|
||||
if CodeNode=nil then exit;
|
||||
end;
|
||||
end else if CodeNode.Desc in [ctnProperty,ctnProcedure] then
|
||||
begin
|
||||
if not NodeSorted(CodeNode) then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user