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