8 writes to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Extensions\ProtocolConversions.cs (2)
333
Range
= TextSpanToRange(textChange.Span, oldText)
424
Range
= MappedSpanResultToRange(mappedSpan),
Handler\CodeActions\CodeActionResolveHelper.cs (1)
249
var edit = new TextEdit {
Range
= emptyDocumentRange, NewText = newText.ToString() };
Handler\Completion\CompletionResultFactory.cs (3)
493
Range
= ProtocolConversions.TextSpanToRange(completionChangeSpan, documentText),
539
Range
= ProtocolConversions.TextSpanToRange(change.Span, sourceText),
684
Range
= ProtocolConversions.TextSpanToRange(completionChangeSpan, documentText),
Handler\OnAutoInsert\OnAutoInsertHandler.cs (2)
137
Range
= ProtocolConversions.TextSpanToRange(result.SpanToReplace, sourceText)
201
Range
= ProtocolConversions.TextSpanToRange(textChange.Span, sourceText)
2 references to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\ProtocolConversions.cs (1)
338
=> new TextChange(RangeToTextSpan(edit.
Range
, oldText), edit.NewText);
Protocol\CompletionItem.cs (1)
209
/// The <see cref="TextEdit.
Range
"/> must be single-line and must contain the position at which completion was requested.