コード例 #1
0
 public void Detach(Microsoft.VisualStudio.Text.Editor.ITextView textView)
 {
     if (this.textView == textView)
     {
         this.textView.MouseHover -= textView_MouseHover;
         this.textView             = null;
     }
 }
コード例 #2
0
        /// <summary>
        /// Called when the tagger for the specified <see cref="MVST.ITextBuffer"/> that has a matching content type should be created.
        /// </summary>
        /// <remarks>This function is called by the framework on Main Thread</remarks>
        /// <param name="text_view">The <see cref="MVSTE.ITextView"/> on which the tagger operates</param>
        /// <param name="text_buffer">The <see cref="MVST.ITextBuffer"/> on which the tagger operates</param>
        public MVSTT.ITagger <T> CreateTagger <T>(MVSTE.ITextView text_view, MVST.ITextBuffer text_buffer) where T : MVSTT.ITag
        {
            if (null == text_buffer)
            {
                return(null);
            }

            return(new EmbedFigureErrorTagger(text_view) as MVSTT.ITagger <T>);
        }
コード例 #3
0
 public IIntellisenseController TryCreateIntellisenseController(Microsoft.VisualStudio.Text.Editor.ITextView textView, IList <ITextBuffer> subjectBuffers)
 {
     if (textView != null)
     {
         return(new JavaQuickInfoController(textView, subjectBuffers, this));
     }
     else
     {
         return(null);
     }
 }
コード例 #4
0
 public bool IsSupported(VSTE.ITextView textView) => false;
コード例 #5
0
ファイル: Controller.cs プロジェクト: IntranetFactory/ndjango
 public void Detach(Microsoft.VisualStudio.Text.Editor.ITextView textView)
 {
     detachKeyboardFilter();
 }