Browse Source

* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Corrected else in

new line placement.

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

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

@ -1275,6 +1275,7 @@ namespace ICSharpCode.NRefactory.PrettyPrinter @@ -1275,6 +1275,7 @@ namespace ICSharpCode.NRefactory.PrettyPrinter
if (ifElseStatement.HasElseStatements) {
if (prettyPrintOptions.PlaceElseOnNewLine) {
outputFormatter.NewLine();
outputFormatter.Indent();
} else {
outputFormatter.Space();

Loading…
Cancel
Save