diff options
author | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
commit | 95408b1a41b31b645f3a8c3323ab7d3ca4bff26b (patch) | |
tree | f8f137cddcb9a40499d303be95722fd2c6081bce /main/tests/UnitTests/MonoDevelop.CSharpBinding/CSharpTextEditorIndentationTests.cs | |
parent | b70e4e04b4e41b8ec28d7e4b220b401ecf467e7a (diff) | |
parent | de043d330a8bf5855d4d983c804cd36727cb2406 (diff) |
Merge remote-tracking branch 'origin/roslyn' into new-project-model
Diffstat (limited to 'main/tests/UnitTests/MonoDevelop.CSharpBinding/CSharpTextEditorIndentationTests.cs')
-rw-r--r-- | main/tests/UnitTests/MonoDevelop.CSharpBinding/CSharpTextEditorIndentationTests.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/main/tests/UnitTests/MonoDevelop.CSharpBinding/CSharpTextEditorIndentationTests.cs b/main/tests/UnitTests/MonoDevelop.CSharpBinding/CSharpTextEditorIndentationTests.cs index 09e4259738..aeacf06c41 100644 --- a/main/tests/UnitTests/MonoDevelop.CSharpBinding/CSharpTextEditorIndentationTests.cs +++ b/main/tests/UnitTests/MonoDevelop.CSharpBinding/CSharpTextEditorIndentationTests.cs @@ -1,3 +1,4 @@ +/* // // CSharpTextEditorIndentationTests.cs // @@ -38,7 +39,8 @@ using MonoDevelop.Ide.TypeSystem; using MonoDevelop.Ide.Gui.Content; using MonoDevelop.CSharp.Formatting; using UnitTests; -using MonoDevelop.Projects.Policies;
+using MonoDevelop.Projects.Policies; + using ICSharpCode.NRefactory.CSharp; using MonoDevelop.CSharpBinding.Tests; using MonoDevelop.Ide.Gui; @@ -141,8 +143,10 @@ namespace MonoDevelop.CSharpBinding IStateMachineIndentEngine CreateTracker (TextEditorData data) { - var policy = PolicyService.InvariantPolicies.Get <CSharpFormattingPolicy> ("text/x-csharp").CreateOptions();
- var textStylePolicy = data.CreateNRefactoryTextEditorOptions();
+ var policy = PolicyService.InvariantPolicies.Get <CSharpFormattingPolicy> ("text/x-csharp").CreateOptions(); + + var textStylePolicy = data.CreateNRefactoryTextEditorOptions(); + textStylePolicy.IndentBlankLines = true; var result = new CacheIndentEngine(new ICSharpCode.NRefactory.CSharp.CSharpIndentEngine(data.Document, textStylePolicy, policy)); result.Update (data.Caret.Offset); @@ -452,3 +456,4 @@ $void Bar () } } +*/
\ No newline at end of file |