From cfa90e6bd1f4fc6a2e344006480024269e110cac Mon Sep 17 00:00:00 2001 From: mattias Date: Mon, 8 Oct 2007 10:20:04 +0000 Subject: [PATCH] IDE: ientifier completion: adding semicoon: checks if identifier has childs git-svn-id: trunk@12375 - --- ide/sourceeditprocs.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ide/sourceeditprocs.pas b/ide/sourceeditprocs.pas index cc1be7eb23..534977240d 100644 --- a/ide/sourceeditprocs.pas +++ b/ide/sourceeditprocs.pas @@ -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+' ';