コード例 #1
0
ファイル: Controller.cs プロジェクト: IntranetFactory/ndjango
        /// <summary>
        /// Creates a new controller
        /// </summary>
        /// <param name="nodeProviderBroker"></param>
        /// <param name="subjectBuffers"></param>
        /// <param name="textView"></param>
        /// <param name="brokerMapService"></param>
        public Controller(ControllerProvider provider, ITextBuffer buffer, ITextView textView)
        {
            this.provider = provider;
            this.buffer   = buffer;
            this.textView = textView;

            textView.MouseHover += new EventHandler <MouseHoverEventArgs>(textView_MouseHover);
        }
コード例 #2
0
ファイル: Controller.cs プロジェクト: klewin/NDjango
        /// <summary>
        /// Creates a new controller
        /// </summary>
        /// <param name="nodeProviderBroker"></param>
        /// <param name="subjectBuffers"></param>
        /// <param name="textView"></param>
        /// <param name="brokerMapService"></param>
        public Controller(ControllerProvider provider, ITextBuffer buffer, ITextView textView)
        {
            this.provider = provider;
            this.buffer = buffer;
            this.textView = textView;

            textView.MouseHover += new EventHandler<MouseHoverEventArgs>(textView_MouseHover);
        }
コード例 #3
0
ファイル: Controller.cs プロジェクト: IntranetFactory/ndjango
        /// <summary>
        /// Creates a new controller
        /// </summary>
        /// <param name="nodeProviderBroker"></param>
        /// <param name="subjectBuffers"></param>
        /// <param name="textView"></param>
        /// <param name="brokerMapService"></param>
        public Controller(ControllerProvider provider, IList<ITextBuffer> subjectBuffers, ITextView textView, IEnvironment context)
        {
            this.provider = provider;
            this.subjectBuffers = subjectBuffers;
            this.textView = textView;
            this.context = context;

            textView.MouseHover += new EventHandler<MouseHoverEventArgs>(textView_MouseHover);
        }