Browse Source

* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Correctly indent

embedded statements.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4315 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Mike Krüger 17 years ago
parent
commit
5ad991bd51
  1. 1
      src/Libraries/NRefactory/Project/Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs

1
src/Libraries/NRefactory/Project/Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs

@ -1400,6 +1400,7 @@ namespace ICSharpCode.NRefactory.PrettyPrinter @@ -1400,6 +1400,7 @@ namespace ICSharpCode.NRefactory.PrettyPrinter
} else {
++outputFormatter.IndentationLevel;
outputFormatter.NewLine();
outputFormatter.Indent ();
TrackVisit(statement, null);
outputFormatter.NewLine();
--outputFormatter.IndentationLevel;

Loading…
Cancel
Save