This documentation is archived and is not being maintained.

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)

[GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD")] 
[InterfaceTypeAttribute(1)] 
public interface IVsTextLinesEvents
/** @attribute GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsTextLinesEvents
GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD") 
InterfaceTypeAttribute(1) 
public interface IVsTextLinesEvents

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.

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

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.

Show: