Codetools: formatting

git-svn-id: trunk@41965 -
This commit is contained in:
juha 2013-07-02 12:56:54 +00:00
parent 123beaa6dc
commit a90ea22ce0

View File

@ -6224,10 +6224,8 @@ begin
NeedSection:=true; NeedSection:=true;
end; end;
if NeedSection then if NeedSection then
NewCode:='var'+Beauty.LineEnd NewCode:='var'+Beauty.LineEnd+Beauty.GetIndentStr(Beauty.Indent)+NewCode;
+Beauty.GetIndentStr(Beauty.Indent)+NewCode; NewCode:=Beauty.BeautifyStatement(NewCode,Indent,[bcfIndentExistingLineBreaks]);
NewCode:=Beauty.BeautifyStatement(NewCode,
Indent,[bcfIndentExistingLineBreaks]);
SourceChangeCache.BeginUpdate; SourceChangeCache.BeginUpdate;
try try