mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 17:19:19 +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;}
|
end;}
|
||||||
|
|
||||||
if (ilcfStartIsLValue in IdentList.ContextFlags)
|
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)
|
if (atIdentifier in CodeToolsOpts.DoInsertSpaceAfter)
|
||||||
or (atSymbol in CodeToolsOpts.DoInsertSpaceInFront) then
|
or (atSymbol in CodeToolsOpts.DoInsertSpaceInFront) then
|
||||||
Result:=Result+' ';
|
Result:=Result+' ';
|
||||||
|
Loading…
Reference in New Issue
Block a user