1 write to EditorOperations
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
AbstractCommandHandlerTestState.cs (1)
122
this.
EditorOperations
= GetService<IEditorOperationsFactoryService>().GetEditorOperations(_textView);
14 references to EditorOperations
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
ConvertNamespace\ConvertNamespaceCommandHandlerTests.cs (1)
53
=> SendTypeChar(ch, _commandHandler.ExecuteCommand, () =>
EditorOperations
.InsertText(ch.ToString()));
EventHookup\EventHookupTestState.cs (2)
94
SendTypeChar(ch, _commandHandler.ExecuteCommand, () =>
EditorOperations
.InsertText(ch.ToString()));
99
base.SendTab(_commandHandler.ExecuteCommand, () =>
EditorOperations
.InsertText(" "));
RawStringLiteral\RawStringLiteralCommandHandlerTests.cs (1)
77
=> SendTypeChar(ch, _commandHandler.ExecuteCommand, () =>
EditorOperations
.InsertText(ch.ToString()));
StringCopyPaste\StringCopyPasteCommandHandlerTests.cs (2)
117
new PasteCommandArgs(this.TextView, this.SubjectBuffer), () =>
EditorOperations
.Paste(), TestCommandExecutionContext.Create());
135
EditorOperations
.ReplaceSelection(pasteText);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (8)
AbstractCommandHandlerTestState.cs (8)
163
=>
EditorOperations
.Backspace();
166
=>
EditorOperations
.Delete();
169
=>
EditorOperations
.MoveToNextCharacter(extendSelection);
172
=>
EditorOperations
.MoveToPreviousCharacter(extendSelection);
175
=>
EditorOperations
.MoveToPreviousCharacter(extendSelection);
178
=>
EditorOperations
.DeleteWordToLeft();
189
EditorOperations
.SelectAndMoveCaret(
339
SendTypeChar(ch, commandHandler, () =>
EditorOperations
.InsertText(localCh.ToString()));