public void Detach(Microsoft.VisualStudio.Text.Editor.ITextView textView) { if (this.textView == textView) { this.textView.MouseHover -= textView_MouseHover; this.textView = null; } }
/// <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>); }
public IIntellisenseController TryCreateIntellisenseController(Microsoft.VisualStudio.Text.Editor.ITextView textView, IList <ITextBuffer> subjectBuffers) { if (textView != null) { return(new JavaQuickInfoController(textView, subjectBuffers, this)); } else { return(null); } }
public bool IsSupported(VSTE.ITextView textView) => false;
public void Detach(Microsoft.VisualStudio.Text.Editor.ITextView textView) { detachKeyboardFilter(); }