public CommandFilter(IWpfTextView textView, ICompletionBroker broker, IEmojiLocationHandler emojiLocationHandler) { _emojiLocationHandler = emojiLocationHandler; _currentSession = null; TextView = textView; Broker = broker; }
public CommandFilter(IWpfTextView textView, ICompletionBroker broker, IEmojiLocationHandler emojiLocationHandler) { _emojiLocationHandler = emojiLocationHandler; _currentSession = null; TextView = textView; Broker = broker; }
public EmojiCompletionSource(ITextBuffer buffer, IEmojiStore emojiStore, IEmojiLocationHandler locationHandler) { _buffer = buffer; _locationHandler = locationHandler; _emojiCompletions = emojiStore.Emojis() .Select(e => new EmojiCompletion(e)) .ToList(); }
public EmojiCompletionSource(ITextBuffer buffer, IEmojiStore emojiStore, IEmojiLocationHandler locationHandler) { _buffer = buffer; _locationHandler = locationHandler; _emojiCompletions = emojiStore.Emojis() .Select(e => new EmojiCompletion(e)) .ToList(); }
internal EmojiTagger(ITextBuffer buffer, IEmojiStore store, IEmojiLocationHandler locationHandler) : base(buffer, new Regex(@":(?<name>[0-9a-zA-Z\-\+_]+):", RegexOptions.Compiled | RegexOptions.CultureInvariant | RegexOptions.IgnoreCase)) { _store = store; _locationHandler = locationHandler; }