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

github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Impl/EditorOperations/EditorOperationsFactoryService.cs')
-rw-r--r--src/Text/Impl/EditorOperations/EditorOperationsFactoryService.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Text/Impl/EditorOperations/EditorOperationsFactoryService.cs b/src/Text/Impl/EditorOperations/EditorOperationsFactoryService.cs
index 7b1d693..a61fee1 100644
--- a/src/Text/Impl/EditorOperations/EditorOperationsFactoryService.cs
+++ b/src/Text/Impl/EditorOperations/EditorOperationsFactoryService.cs
@@ -22,6 +22,9 @@ namespace Microsoft.VisualStudio.Text.Operations.Implementation
internal sealed class EditorOperationsFactoryService : IEditorOperationsFactoryService
{
[Import]
+ public IMultiSelectionBrokerFactory MultiSelectionBrokerFactory { get; set; }
+
+ [Import]
internal ITextStructureNavigatorSelectorService TextStructureNavigatorFactory { get; set; }
#if WINDOWS
@@ -76,7 +79,7 @@ namespace Microsoft.VisualStudio.Text.Operations.Implementation
// Validate
if (textView == null)
{
- throw new ArgumentNullException("textView");
+ throw new ArgumentNullException(nameof(textView));
}
// Only one EditorOperations should be created per ITextView