From a90ea22ce02f83fe05a3ebf6f5d2a72b5897a41f Mon Sep 17 00:00:00 2001 From: juha Date: Tue, 2 Jul 2013 12:56:54 +0000 Subject: [PATCH] Codetools: formatting git-svn-id: trunk@41965 - --- components/codetools/codecompletiontool.pas | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/codetools/codecompletiontool.pas b/components/codetools/codecompletiontool.pas index c8f6333f87..dafc61388f 100644 --- a/components/codetools/codecompletiontool.pas +++ b/components/codetools/codecompletiontool.pas @@ -6224,10 +6224,8 @@ begin NeedSection:=true; end; if NeedSection then - NewCode:='var'+Beauty.LineEnd - +Beauty.GetIndentStr(Beauty.Indent)+NewCode; - NewCode:=Beauty.BeautifyStatement(NewCode, - Indent,[bcfIndentExistingLineBreaks]); + NewCode:='var'+Beauty.LineEnd+Beauty.GetIndentStr(Beauty.Indent)+NewCode; + NewCode:=Beauty.BeautifyStatement(NewCode,Indent,[bcfIndentExistingLineBreaks]); SourceChangeCache.BeginUpdate; try