예제 #1
0
        public CompletionPresenterSession(
            ICompletionSetFactory completionSetFactory,
            ICompletionBroker completionBroker,
            IGlyphService glyphService,
            ITextView textView,
            ITextBuffer subjectBuffer)
        {
            _completionBroker = completionBroker;
            this.GlyphService = glyphService;
            _textView = textView;
            _subjectBuffer = subjectBuffer;

            _completionSet = completionSetFactory.CreateCompletionSet(this, textView, subjectBuffer);
            _completionSet.SelectionStatusChanged += OnCompletionSetSelectionStatusChanged;
        }
예제 #2
0
        public CompletionPresenterSession(
            ICompletionSetFactory completionSetFactory,
            ICompletionBroker completionBroker,
            IGlyphService glyphService,
            ITextView textView,
            ITextBuffer subjectBuffer)
        {
            _completionBroker = completionBroker;
            this.GlyphService = glyphService;
            _textView         = textView;
            _subjectBuffer    = subjectBuffer;

            _completionSet = completionSetFactory.CreateCompletionSet(this, textView, subjectBuffer);
            _completionSet.SelectionStatusChanged += OnCompletionSetSelectionStatusChanged;
        }
예제 #3
0
 public void StartCompletionSession(TextSpan completionSpan, ICompletionSet completions)
 {
     _codeView.StartCompletionSession(new CompletionSession(completionSpan, completions));
 }
예제 #4
0
 public void StartCompletionSession(TextSpan completionSpan, ICompletionSet completions)
 {
     _codeView.StartCompletionSession(new CompletionSession(completionSpan, completions));
 }
		public CompletionSession(TextSpan completionSpan, ICompletionSet completions)
		{
			_completions = completions;
		}
예제 #6
0
 public CompletionSession(TextSpan completionSpan, ICompletionSet completions)
 {
     _completions = completions;
 }