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