Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/tests/UnitTests/MonoDevelop.CSharpBinding/CSharpTextEditorIndentationTests.cs')
-rw-r--r--main/tests/UnitTests/MonoDevelop.CSharpBinding/CSharpTextEditorIndentationTests.cs11
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