mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 23:00:35 +02:00
IDE: ientifier completion: adding semicoon: checks if identifier has childs
git-svn-id: trunk@12375 -
This commit is contained in:
parent
923da9556a
commit
cfa90e6bd1
@ -507,7 +507,8 @@ begin
|
||||
CursorAtEnd:=false;
|
||||
end;}
|
||||
|
||||
if (ilcfStartIsLValue in IdentList.ContextFlags) then begin
|
||||
if (ilcfStartIsLValue in IdentList.ContextFlags)
|
||||
and (not IdentItem.HasChilds) then begin
|
||||
if (atIdentifier in CodeToolsOpts.DoInsertSpaceAfter)
|
||||
or (atSymbol in CodeToolsOpts.DoInsertSpaceInFront) then
|
||||
Result:=Result+' ';
|
||||
|
Loading…
Reference in New Issue
Block a user