public EmojiCompletionSource(ITextBuffer buffer, IEmojiStore emojiStore) { _buffer = buffer; _emojiCompletions = emojiStore.Emojis() .Select(EmojiCompletion) .ToList(); }
public EmojiCompletionSource(ITextBuffer buffer, IEmojiStore emojiStore, IEmojiLocationHandler locationHandler) { _buffer = buffer; _locationHandler = locationHandler; _emojiCompletions = emojiStore.Emojis() .Select(e => new EmojiCompletion(e)) .ToList(); }
public EmojiCompletionSourceProvider(IEmojiStore emojiStore) { EmojiStore = emojiStore; }
public EmojiCompletionSourceProvider(IEmojiStore emojiStore, IEmojiLocationHandlerProvider emojiLocationHandlerProvider) { EmojiStore = emojiStore; EmojiLocationHandlerProvider = emojiLocationHandlerProvider; }
public EmojiTaggerProvider(IEmojiStore emojiStore) { EmojiStore = emojiStore; }
public EmojiTaggerProvider(IEmojiStore emojiStore, IEmojiLocationHandlerProvider emojiLocationHandlerProvider) { EmojiStore = emojiStore; EmojiLocationHandlerProvider = emojiLocationHandlerProvider; }
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; }
internal EmojiTagger(ITextBuffer buffer, IEmojiStore store) : base(buffer, new[] { new Regex(@":(?<name>[0-9a-zA-Z\-\+_]+):", RegexOptions.Compiled | RegexOptions.CultureInvariant | RegexOptions.IgnoreCase) }) { _store = store; }
protected override void Initialize() { base.Initialize(); Store = ComponentModel.GetService <IEmojiStore>(); }
protected override void Initialize() { base.Initialize(); Store = ComponentModel.GetService<IEmojiStore>(); }