mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 10:49:44 +02:00
codetools: class completion: fixed add to published section
git-svn-id: trunk@22059 -
This commit is contained in:
parent
96b6819584
commit
9f47216bff
@ -5184,7 +5184,9 @@ begin
|
||||
ReadNextAtom;
|
||||
if UpAtomIs('STRICT') then
|
||||
ReadNextAtom;
|
||||
InsertPos:=CurPos.EndPos;
|
||||
ANode:=ClassSectionNode.Next;
|
||||
if (ANode<>nil) and (CurPos.EndPos<=ANode.StartPos) then
|
||||
InsertPos:=CurPos.EndPos;
|
||||
end else if ClassSectionNode.Desc in AllClassInterfaces then begin
|
||||
// skip class interface header
|
||||
MoveCursorToCleanPos(InsertPos);
|
||||
|
Loading…
Reference in New Issue
Block a user