Ejemplo n.º 1
0
 public IntellisenseFilter2(
     CompletionSet3 completionSet, CompletionItemFilter filter)
     : base(filter.Glyph.GetImageMoniker(), GetToolTip(filter),
            filter.AccessKey.ToString(), automationText: filter.Glyph.ToString())
 {
     _completionSet       = completionSet;
     CompletionItemFilter = filter;
 }
Ejemplo n.º 2
0
 public IntellisenseFilter2(
     CompletionSet3 completionSet, CompletionItemFilter filter, string language)
     : base(ImageMonikers.GetImageMoniker(filter.Tags, language), GetToolTip(filter),
            filter.AccessKey.ToString(), automationText: filter.Tags[0])
 {
     _completionSet       = completionSet;
     CompletionItemFilter = filter;
 }
        public CompletionPresenterSession(
            ICompletionBroker completionBroker,
            IGlyphService glyphService,
            ITextView textView,
            ITextBuffer subjectBuffer)
        {
            _completionBroker = completionBroker;
            this.GlyphService = glyphService;
            _textView         = textView;
            _subjectBuffer    = subjectBuffer;

            _completionSet = new CompletionSet3(this, textView, subjectBuffer);
            _completionSet.SelectionStatusChanged += OnCompletionSetSelectionStatusChanged;
        }
Ejemplo n.º 4
0
        public CompletionPresenterSession(
            ICompletionBroker completionBroker,
            IGlyphService glyphService,
            ITextView textView,
            ITextBuffer subjectBuffer)
        {
            _completionBroker = completionBroker;
            this.GlyphService = glyphService;
            _textView = textView;
            _subjectBuffer = subjectBuffer;

            _completionSet = new CompletionSet3(this, textView, subjectBuffer);
            _completionSet.SelectionStatusChanged += OnCompletionSetSelectionStatusChanged;
        }