ITextViewOpenClosedListener Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |