Inheritance: IIntellisenseControllerProvider
        /// <summary>
        /// Initializes a new instance of the <see cref="QuickInfoController"/> class.
        /// The constructor sets the fields and adds the mouse hover event handler.
        /// </summary>
        /// <param name="textView">
        /// The text view.
        /// </param>
        /// <param name="subjectBuffers">
        /// The text buffer.
        /// </param>
        /// <param name="provider">
        /// The provider.
        /// </param>
        internal QuickInfoController(ITextView textView, IList<ITextBuffer> subjectBuffers, QuickInfoControllerProvider provider)
        {
            this.textView = textView;
            this.subjectBuffers = subjectBuffers;
            componentContext = provider;

            this.textView.MouseHover += OnTextViewMouseHover;
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="QuickInfoController"/> class.
        /// The constructor sets the fields and adds the mouse hover event handler.
        /// </summary>
        /// <param name="textView">
        /// The text view.
        /// </param>
        /// <param name="subjectBuffers">
        /// The text buffer.
        /// </param>
        /// <param name="provider">
        /// The provider.
        /// </param>
        internal QuickInfoController(ITextView textView, IList <ITextBuffer> subjectBuffers, QuickInfoControllerProvider provider)
        {
            this.textView       = textView;
            this.subjectBuffers = subjectBuffers;
            componentContext    = provider;

            this.textView.MouseHover += OnTextViewMouseHover;
        }