Inheritance: CodeCompletionContextProviderBase
Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public bool ProcessSubsequentTyping(char c, ITextControl textControl)
 {
     return(EmojiCompletionContextProvider.IsEmojiChar(c));
 }