fixed form FActive, cleanups

git-svn-id: trunk@3145 -
This commit is contained in:
mattias 2002-08-18 16:49:57 +00:00
parent 6c2a71138f
commit f31dad6d8a

View File

@ -560,10 +560,10 @@ begin
end else begin
// there is no var section yet
// -> create a new var section and append variable
InsertTxt:='var'+SourceChangeCache.BeautifyCodeOptions.LineEnd
+GetIndentStr(SourceChangeCache.BeautifyCodeOptions.Indent)
+InsertTxt;
Indent:=GetLineIndent(Src,BeginNode.StartPos);
InsertTxt:='var'+SourceChangeCache.BeautifyCodeOptions.LineEnd
+GetIndentStr(Indent+SourceChangeCache.BeautifyCodeOptions.Indent)
+InsertTxt;
InsertPos:=BeginNode.StartPos;
end;