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; }
public void StartCompletionSession(TextSpan completionSpan, ICompletionSet completions) { _codeView.StartCompletionSession(new CompletionSession(completionSpan, completions)); }
public CompletionSession(TextSpan completionSpan, ICompletionSet completions) { _completions = completions; }