Freigeben über


ITextViewOpenClosedListener Interface

Definition

Extensibility point for listening for ITextViewSnapshots to be opened and closed.

[Microsoft.VisualStudio.Extensibility.ExtensionContract(typeof(Microsoft.VisualStudio.RpcContracts.Editor.ITextViewOpenClosedListenerContract), typeof(Microsoft.VisualStudio.Extensibility.Editor.TextViewOpenClosedListener))]
[Microsoft.VisualStudio.Extensibility.ExtensionPart(typeof(Microsoft.VisualStudio.Extensibility.Editor.ITextViewOpenClosedListener), new System.String[] { "TextViewExtensionConfiguration" })]
public interface ITextViewOpenClosedListener : Microsoft.VisualStudio.Extensibility.Editor.ITextViewExtension
[<Microsoft.VisualStudio.Extensibility.ExtensionContract(typeof(Microsoft.VisualStudio.RpcContracts.Editor.ITextViewOpenClosedListenerContract), typeof(Microsoft.VisualStudio.Extensibility.Editor.TextViewOpenClosedListener))>]
[<Microsoft.VisualStudio.Extensibility.ExtensionPart(typeof(Microsoft.VisualStudio.Extensibility.Editor.ITextViewOpenClosedListener), new System.String[] { "TextViewExtensionConfiguration" })>]
type ITextViewOpenClosedListener = interface
    interface ITextViewExtension
Public Interface ITextViewOpenClosedListener
Implements ITextViewExtension
Attributes
Implements

Properties

TextViewExtensionConfiguration

Gets the configuration for this ITextViewExtension. The value of this property is evaluated at compile time when building the Visual Studio extension.

(Inherited from ITextViewExtension)

Methods

TextViewClosedAsync(ITextViewSnapshot, CancellationToken)

Called when an ITextViewSnapshot with matching document type is closed.

TextViewOpenedAsync(ITextViewSnapshot, CancellationToken)

Called when an ITextViewSnapshot with matching document type is opened.

Applies to