codetools: class completion: update changed proc with semicolon, bug #16201

git-svn-id: trunk@24703 -
This commit is contained in:
mattias 2010-04-18 18:26:20 +00:00
parent e0b2912421
commit 1ae2b9cefb

View File

@ -6548,8 +6548,7 @@ var
Indent:=GetLineIndent(Src,InsertPos); Indent:=GetLineIndent(Src,InsertPos);
ProcCode:=ExtractProcHead(DefNodeExt.Node,[phpWithStart, ProcCode:=ExtractProcHead(DefNodeExt.Node,[phpWithStart,
phpAddClassname,phpWithVarModifiers, phpAddClassname,phpWithVarModifiers,
phpWithParameterNames,phpWithResultType,phpWithCallingSpecs, phpWithParameterNames,phpWithResultType,phpWithCallingSpecs]);
phpWithoutSemicolon]);
ProcCode:=ASourceChangeCache.BeautifyCodeOptions.BeautifyProc( ProcCode:=ASourceChangeCache.BeautifyCodeOptions.BeautifyProc(
ProcCode,Indent,false); ProcCode,Indent,false);
{$IFDEF CTDEBUG} {$IFDEF CTDEBUG}