IsEmojiChar() static private method

static private IsEmojiChar ( char c ) : bool
c char
return bool
示例#1
0
        public bool AcceptTyping(char c, ITextControl textControl, IContextBoundSettingsStore boundSettingsStore)
        {
            if (c == ':')
            {
                return(true);
            }

            if (EmojiCompletionContextProvider.IsEmojiChar(c))
            {
                return(this.MatchText(textControl, 1, text => text[0] == ':'));
            }

            return(false);
        }
示例#2
0
 public bool ProcessSubsequentTyping(char c, ITextControl textControl)
 {
     return(EmojiCompletionContextProvider.IsEmojiChar(c));
 }