10 writes to NewText
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Extensions\ProtocolConversions.cs (2)
347NewText = textChange.NewText, 440NewText = textChange.NewText ?? string.Empty
Handler\CodeActions\CodeActionResolveHelper.cs (1)
261var edit = new TextEdit { Range = emptyDocumentRange, NewText = newText.ToString() };
Handler\Completion\CompletionResultFactory.cs (5)
499NewText = completionChangeNewText, 545NewText = change.NewText!, 690NewText = newText, 702textEdit.NewText = lspSnippetChangeText; 720textEdit.NewText = textEdit.NewText.Insert(relativeCaretPosition, "$0");
Handler\OnAutoInsert\OnAutoInsertHandler.cs (2)
138NewText = result.SnippetText.Insert(result.CaretOffset, "$0"), 202NewText = newText,
3 references to NewText
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Extensions\ProtocolConversions.cs (1)
353=> new TextChange(RangeToTextSpan(edit.Range, oldText), edit.NewText);
Handler\Completion\CompletionResultFactory.cs (1)
720textEdit.NewText = textEdit.NewText.Insert(relativeCaretPosition, "$0");
Protocol\CompletionItem.cs (1)
178/// <see cref="TextEdit.NewText"/> property on <see cref="TextEdit"/>.