Partilhar via


IVsTextStreamEvents Interface

Definition

Notifies clients of changes to the underlying text buffer.

public interface class IVsTextStreamEvents
public interface class IVsTextStreamEvents
__interface IVsTextStreamEvents
[System.Runtime.InteropServices.Guid("96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextStreamEvents
[System.Runtime.InteropServices.Guid("96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextStreamEvents
[<System.Runtime.InteropServices.Guid("96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextStreamEvents = interface
[<System.Runtime.InteropServices.Guid("96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextStreamEvents = interface
Public Interface IVsTextStreamEvents
Derived
Attributes

Remarks

Implement the IVsTextStreamEvents interface on your client object to receive notification of changes in the text buffer. Expose this interface to the text buffer using the IConnectionPointContainer interface on the text buffer to receive notification of line changes from the buffer. Changes are expressed in a two-dimensional line/index coordinate system.

Notes to Implementers

Implemented by clients who want to receive notifications of changes to lines in the text buffer.

Notes to Callers

Called by text buffers in response to change to text or attributes in the buffer.

Methods

OnChangeStreamAttributes(Int32, Int32)

Notifies the client that the text stream attributes have changed.

OnChangeStreamText(Int32, Int32, Int32, Int32)

Notifies the clients when the content of a text stream in the buffer has changed.

Applies to