1 write to EditorOperations
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
AbstractCommandHandlerTestState.cs (1)
125this.EditorOperations = GetService<IEditorOperationsFactoryService>().GetEditorOperations(_textView);
24 references to EditorOperations
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
ConvertNamespace\ConvertNamespaceCommandHandlerTests.cs (1)
54=> SendTypeChar(ch, _commandHandler.ExecuteCommand, () => EditorOperations.InsertText(ch.ToString()));
EventHookup\EventHookupTestState.cs (2)
90SendTypeChar(ch, _commandHandler.ExecuteCommand, () => EditorOperations.InsertText(ch.ToString())); 95base.SendTab(_commandHandler.ExecuteCommand, () => EditorOperations.InsertText(" "));
RawStringLiteral\RawStringLiteralCommandHandlerTests.cs (1)
76=> SendTypeChar(ch, _commandHandler.ExecuteCommand, () => EditorOperations.InsertText(ch.ToString()));
StringCopyPaste\StringCopyPasteCommandHandlerTests.cs (2)
119new PasteCommandArgs(this.TextView, this.SubjectBuffer), () => EditorOperations.Paste(), TestCommandExecutionContext.Create()); 137EditorOperations.ReplaceSelection(pasteText);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (8)
AbstractCommandHandlerTestState.cs (8)
166=> EditorOperations.Backspace(); 169=> EditorOperations.Delete(); 172=> EditorOperations.MoveToNextCharacter(extendSelection); 175=> EditorOperations.MoveToPreviousCharacter(extendSelection); 178=> EditorOperations.MoveToPreviousCharacter(extendSelection); 181=> EditorOperations.DeleteWordToLeft(); 192EditorOperations.SelectAndMoveCaret( 342SendTypeChar(ch, commandHandler, () => EditorOperations.InsertText(localCh.ToString()));
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (5)
Intellisense\TestState.vb (5)
122MyBase.SendTab(Sub(a, n, c) handler.ExecuteCommand(a, n, c), Sub() EditorOperations.InsertText(vbTab)) 127MyBase.SendReturn(Sub(a, n, c) handler.ExecuteCommand(a, n, c), Sub() EditorOperations.InsertNewLine()) 174EditorOperations.MoveLineDown(extendSelection:=False) 182EditorOperations.MoveLineUp(extendSelection:=False) 598ExecuteTypeCharCommand(New TypeCharCommandArgs(view, buffer, localCh), Sub() EditorOperations.InsertText(localCh.ToString()), TestCommandExecutionContext.Create())
Microsoft.VisualStudio.LanguageServices.UnitTests (5)
Snippets\SnippetTestState.vb (5)
117EditorOperations.InsertText(" ") 122EditorOperations.Backspace() 127EditorOperations.Unindent() 133EditorOperations.InsertNewLine() 139EditorOperations.InsertText("EscapePassedThrough!")