8 writes to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Extensions\ProtocolConversions.cs (2)
333Range = TextSpanToRange(textChange.Span, oldText) 424Range = MappedSpanResultToRange(mappedSpan),
Handler\CodeActions\CodeActionResolveHelper.cs (1)
249var edit = new TextEdit { Range = emptyDocumentRange, NewText = newText.ToString() };
Handler\Completion\CompletionResultFactory.cs (3)
493Range = ProtocolConversions.TextSpanToRange(completionChangeSpan, documentText), 539Range = ProtocolConversions.TextSpanToRange(change.Span, sourceText), 684Range = ProtocolConversions.TextSpanToRange(completionChangeSpan, documentText),
Handler\OnAutoInsert\OnAutoInsertHandler.cs (2)
135Range = ProtocolConversions.TextSpanToRange(result.SpanToReplace, sourceText) 199Range = 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.