15 references to InsertTextAsync
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (15)
Completion\CompletionTests.cs (7)
875
await testLspServer.
InsertTextAsync
(caretLocation.Uri, (caretLocation.Range.End.Line, caretLocation.Range.End.Character, "a"));
941
await testLspServer.
InsertTextAsync
(caretLocation.Uri, (caretLocation.Range.End.Line, caretLocation.Range.End.Character, "C"));
1008
await testLspServer.
InsertTextAsync
(caretLocation.Uri, (caretLocation.Range.End.Line, caretLocation.Range.End.Character, "ask"));
1033
await testLspServer.
InsertTextAsync
(caretLocation.Uri, (caretLocation.Range.End.Line, caretLocation.Range.End.Character, "i"));
1228
await testLspServer.
InsertTextAsync
(secondCaretLocation.Uri, (secondCaretLocation.Range.End.Line, secondCaretLocation.Range.End.Character, "S"));
1243
await testLspServer.
InsertTextAsync
(firstCaretLocation.Uri, (firstCaretLocation.Range.End.Line, firstCaretLocation.Range.End.Character, "a"));
1351
await testLspServer.
InsertTextAsync
(caretLocation.Uri, (caretLocation.Range.End.Line, caretLocation.Range.End.Character, "z"));
Diagnostics\AbstractPullDiagnosticTestsBase.cs (1)
210
await testLspServer.
InsertTextAsync
(document.GetURI(), (lineInfo.Start.Line, lineInfo.Start.Character, text));
DocumentChanges\DocumentChangesTests.cs (1)
335
=> await testLspServer.
InsertTextAsync
(uri, changes);
Miscellaneous\LspMiscellaneousFilesWorkspaceTests.cs (1)
75
await testLspServer.
InsertTextAsync
(looseFileUri, (0, 0, source)).ConfigureAwait(false);
SpellCheck\SpellCheckTests.cs (1)
608
await testLspServer.
InsertTextAsync
(document.GetURI(), (lineInfo.Start.Line, lineInfo.Start.Character, text));
Workspaces\LspWorkspaceManagerTests.cs (4)
42
await testLspServer.
InsertTextAsync
(documentUri, (0, 0, "More text"));
73
await testLspServer.
InsertTextAsync
(firstDocumentUri, (0, 0, "Some more text"));
217
await testLspServer.
InsertTextAsync
(newDocumentUri, (0, 0, "More LSP text"));
348
await testLspServer.
InsertTextAsync
(firstWorkspaceDocumentUri, (0, 0, "Change in first workspace"));