mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-14 10:53:47 +02:00
codetools: add default class section for short classes
git-svn-id: trunk@39126 -
This commit is contained in:
parent
de4e10c615
commit
e4a6b07ebc
@ -3997,6 +3997,12 @@ begin
|
||||
ClassNode.SubDesc:=ClassNode.SubDesc or ctnsForwardDeclaration;
|
||||
end else begin
|
||||
// very short class found e.g. = class(TAncestor);
|
||||
CreateChildNode;
|
||||
if ClassDesc in [ctnClass,ctnObjCClass] then
|
||||
CurNode.Desc:=ctnClassPublished
|
||||
else
|
||||
CurNode.Desc:=ctnClassPublic;
|
||||
EndChildNode;
|
||||
end;
|
||||
end;
|
||||
end else begin
|
||||
|
Loading…
Reference in New Issue
Block a user