public EmojiCompletionSource(ITextBuffer buffer, IEmojiStore emojiStore)
		{
			_buffer = buffer;

			_emojiCompletions = emojiStore.Emojis()
				.Select(EmojiCompletion)
				.ToList();
		}
示例#2
0
        public EmojiCompletionSource(ITextBuffer buffer, IEmojiStore emojiStore)
        {
            _buffer = buffer;

            _emojiCompletions = emojiStore.Emojis()
                                .Select(EmojiCompletion)
                                .ToList();
        }
示例#3
0
        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;
 }
示例#7
0
 public EmojiTaggerProvider(IEmojiStore emojiStore, IEmojiLocationHandlerProvider emojiLocationHandlerProvider)
 {
     EmojiStore = emojiStore;
     EmojiLocationHandlerProvider = emojiLocationHandlerProvider;
 }
示例#8
0
        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, IEmojiLocationHandlerProvider emojiLocationHandlerProvider)
 {
     EmojiStore = emojiStore;
     EmojiLocationHandlerProvider = emojiLocationHandlerProvider;
 }
示例#10
0
 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;
 }
示例#11
0
 internal EmojiTagger(ITextBuffer buffer, IEmojiStore store)
     : base(buffer, new[] { new Regex(@":(?<name>[0-9a-zA-Z\-\+_]+):", RegexOptions.Compiled | RegexOptions.CultureInvariant | RegexOptions.IgnoreCase) })
 {
     _store = store;
 }
示例#12
0
        protected override void Initialize()
        {
            base.Initialize();

            Store = ComponentModel.GetService <IEmojiStore>();
        }
		protected override void Initialize()
		{
			base.Initialize();

			Store = ComponentModel.GetService<IEmojiStore>();
		}
		public EmojiCompletionSourceProvider(IEmojiStore emojiStore)
		{
			EmojiStore = emojiStore;
		}