Export (0) Print
Expand All

IVsTextViewFilter Interface

Allows further modification of the text view.

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("6B6F0B32-B88B-40F8-A8FE-97438C5BDBEF")] 
public interface IVsTextViewFilter
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("6B6F0B32-B88B-40F8-A8FE-97438C5BDBEF") */ 
public interface IVsTextViewFilter
InterfaceTypeAttribute(1) 
GuidAttribute("6B6F0B32-B88B-40F8-A8FE-97438C5BDBEF") 
public interface IVsTextViewFilter

When you implement IVsTextViewFilter on your object, also provide an IOleCommandTarget interface off of the object. Retrieve IVsTextViewFilter by querying the IOleCommandTarget interface that is passed into the AddCommandFilter method. There should be one IVsTextViewFilter object for each view. The view is implicit when you make calls to this interface.

See illustrations of the implementation and/or calling of this interface in the sample Figures Language Service Sample.

Notes to Implementers Implement this interface to further customize the core text editor.

Community Additions

ADD
Show:
© 2014 Microsoft