diff options
Diffstat (limited to 'src/Text/Impl/EditorOperations/EditorOperationsFactoryService.cs')
-rw-r--r-- | src/Text/Impl/EditorOperations/EditorOperationsFactoryService.cs | 5 |
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 |