Exemple #1
0
 private static TextSpan GetCompletionItemSpan(SourceText text, int position)
 {
     return(CommonCompletionUtilities.GetWordSpan(
                text,
                position,
                ch => CompletionUtilities.IsCompletionItemStartCharacter(ch) || ch == '{',
                ch => CompletionUtilities.IsWordCharacter(ch) || ch == '{' || ch == '}'));
 }