Condividi tramite


IVsTextLinesEvents Interface

Definition

Notifies clients of changes to the underlying text buffer.

public interface class IVsTextLinesEvents
public interface class IVsTextLinesEvents
__interface IVsTextLinesEvents
[System.Runtime.InteropServices.Guid("598D7074-DC17-4162-9A2F-97DD4540C2DD")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextLinesEvents
[System.Runtime.InteropServices.Guid("598D7074-DC17-4162-9A2F-97DD4540C2DD")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextLinesEvents
[<System.Runtime.InteropServices.Guid("598D7074-DC17-4162-9A2F-97DD4540C2DD")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextLinesEvents = interface
[<System.Runtime.InteropServices.Guid("598D7074-DC17-4162-9A2F-97DD4540C2DD")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextLinesEvents = interface
Public Interface IVsTextLinesEvents
Derived
Attributes

Remarks

Implement the IVsTextLinesEvents 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 so they receive notifications of changes to lines in the text buffer.

Notes to Callers

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

Methods

OnChangeLineAttributes(Int32, Int32)

Notifies the client when the text line attributes have been changed.

OnChangeLineText(TextLineChange[], Int32)

Notifies the client when the content of a text line in the buffer has changed.

Applies to