private TextSpan GetTextChangeSpan(SourceText text, int position)
 {
     return(CommonCompletionUtilities.GetTextChangeSpan(
                text,
                position,
                (ch) => CompletionUtilities.IsTextChangeSpanStartCharacter(ch) || ch == '{',
                (ch) => CompletionUtilities.IsWordCharacter(ch) || ch == '{' || ch == '}'));
 }
Exemple #2
0
 internal static TextSpan GetTextChangeSpan(SourceText text, int position)
 {
     return(CommonCompletionUtilities.GetTextChangeSpan(text, position, IsTextChangeSpanStartCharacter, IsWordCharacter));
 }