2 writes to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
160Range = ProtocolConversions.TextSpanToRange(wordOnLeft.Value, sourceText),
Microsoft.VisualStudio.LanguageServices.Razor (1)
LanguageClient\Cohost\CohostInlineCompletionEndpoint.cs (1)
99result.Range = formatted.Span.ToRange();
5 references to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
InlineCompletions\InlineCompletionsTests.cs (1)
251Assert.NotNull(item.Range);
Microsoft.VisualStudio.LanguageServices.Razor (2)
LanguageClient\Cohost\CohostInlineCompletionEndpoint.cs (2)
88if (result.Range is not null) 91var span = result.Range.ToLinePositionSpan();
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (2)
Cohost\CohostInlineCompletionEndpointTest.cs (2)
102Assert.NotNull(item.Range); 105var change = new TextChange(inputText.GetTextSpan(item.Range), item.Text);