mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 06:16:05 +02:00
IDE: identifier completion: adding := : checks if there is already a :=
git-svn-id: trunk@12376 -
This commit is contained in:
parent
cfa90e6bd1
commit
97e18a00f6
@ -508,7 +508,8 @@ begin
|
||||
end;}
|
||||
|
||||
if (ilcfStartIsLValue in IdentList.ContextFlags)
|
||||
and (not IdentItem.HasChilds) then begin
|
||||
and (not IdentItem.HasChilds)
|
||||
and (not IdentList.StartUpAtomBehindIs(':=')) then begin
|
||||
if (atIdentifier in CodeToolsOpts.DoInsertSpaceAfter)
|
||||
or (atSymbol in CodeToolsOpts.DoInsertSpaceInFront) then
|
||||
Result:=Result+' ';
|
||||
|
Loading…
Reference in New Issue
Block a user