IVsTextLinesEvents Interface


Notifies clients of changes to the underlying text buffer.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

public interface IVsTextLinesEvents

System_CAPS_pubmethodOnChangeLineAttributes(Int32, Int32)

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

System_CAPS_pubmethodOnChangeLineText(TextLineChange[], Int32)

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

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.

Return to top