public CompletionTrigger(ITextBuffer buffer, ICompletionProvider completionProvider, ICompletionSessionProvider completionSessionProvider)
		{
			_buffer = buffer;
			_completionProvider = completionProvider;
			_completionSessionProvider = completionSessionProvider;
			_buffer.Changed += OnBufferChanged;
		}
Пример #2
0
 public CompletionTrigger(ITextBuffer buffer, ICompletionProvider completionProvider, ICompletionSessionProvider completionSessionProvider)
 {
     _buffer                    = buffer;
     _completionProvider        = completionProvider;
     _completionSessionProvider = completionSessionProvider;
     _buffer.Changed           += OnBufferChanged;
 }