|
|
|
@ -32,7 +32,7 @@ namespace SharpRefactoring.Tests
@@ -32,7 +32,7 @@ namespace SharpRefactoring.Tests
|
|
|
|
|
pc = new DefaultProjectContent(); |
|
|
|
|
pc.ReferencedContents.Add(AssemblyParserService.DefaultProjectContentRegistry.Mscorlib); |
|
|
|
|
|
|
|
|
|
this.TextEditor.TextArea.TextView.Services.AddService(typeof(ISyntaxHighlighter), new AvalonEditSyntaxHighlighterAdapter(this.TextEditor)); |
|
|
|
|
// this.TextEditor.TextArea.TextView.Services.AddService(typeof(ISyntaxHighlighter), new AvalonEditSyntaxHighlighterAdapter(this.TextEditor));
|
|
|
|
|
this.TextEditor.SyntaxHighlighting = HighlightingManager.Instance.GetDefinition("C#"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|