IVsTextViewFilter Interface

Definition

Allows further modification of the text view.

public interface class IVsTextViewFilter
public interface class IVsTextViewFilter
__interface IVsTextViewFilter
[System.Runtime.InteropServices.Guid("6B6F0B32-B88B-40F8-A8FE-97438C5BDBEF")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextViewFilter
[System.Runtime.InteropServices.Guid("6B6F0B32-B88B-40F8-A8FE-97438C5BDBEF")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextViewFilter
[<System.Runtime.InteropServices.Guid("6B6F0B32-B88B-40F8-A8FE-97438C5BDBEF")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextViewFilter = interface
[<System.Runtime.InteropServices.Guid("6B6F0B32-B88B-40F8-A8FE-97438C5BDBEF")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextViewFilter = interface
Public Interface IVsTextViewFilter
Derived
Attributes

Remarks

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.

Notes to Implementers

Implement this interface to further customize the core text editor.

Methods

GetDataTipText(TextSpan[], String)

Provides data-tip support by obtaining the string value of the tip text.

GetPairExtents(Int32, Int32, TextSpan[])

Returns the location of a matching pair item, given the location of the first item.

GetWordExtent(Int32, Int32, UInt32, TextSpan[])

Calculates the word extent based on a character position.

Applies to