10 writes to NewText
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Extensions\ProtocolConversions.cs (2)
332NewText = textChange.NewText, 425NewText = textChange.NewText ?? string.Empty
Handler\CodeActions\CodeActionResolveHelper.cs (1)
249var edit = new TextEdit { Range = emptyDocumentRange, NewText = newText.ToString() };
Handler\Completion\CompletionResultFactory.cs (5)
492NewText = completionChangeNewText, 538NewText = change.NewText!, 683NewText = newText, 695textEdit.NewText = lspSnippetChangeText; 713textEdit.NewText = textEdit.NewText.Insert(relativeCaretPosition, "$0");
Handler\OnAutoInsert\OnAutoInsertHandler.cs (2)
134NewText = result.SnippetText.Insert(result.CaretOffset, "$0"), 198NewText = newText,
3 references to NewText
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Extensions\ProtocolConversions.cs (1)
338=> new TextChange(RangeToTextSpan(edit.Range, oldText), edit.NewText);
Handler\Completion\CompletionResultFactory.cs (1)
713textEdit.NewText = textEdit.NewText.Insert(relativeCaretPosition, "$0");
Protocol\CompletionItem.cs (1)
178/// <see cref="TextEdit.NewText"/> property on <see cref="TextEdit"/>.