2 references to GetTextSpanInContextOfSnippet
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\InlineCompletions\InlineCompletionsHandler.cs (2)
216
var fieldInSnippetContext =
GetTextSpanInContextOfSnippet
(fieldInFormattedText.Start, spanContainingFormattedSnippet.Start, fieldInFormattedText.Length);
225
var caretInSnippetContext =
GetTextSpanInContextOfSnippet
(caretInFormattedText.Start, spanContainingFormattedSnippet.Start, caretInFormattedText.Length);