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