Freigeben über


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)

Syntax

'Declaration
<GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextLinesEvents
[GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD")]
[InterfaceTypeAttribute()]
public interface IVsTextLinesEvents
[GuidAttribute(L"598D7074-DC17-4162-9A2F-97DD4540C2DD")]
[InterfaceTypeAttribute()]
public interface class IVsTextLinesEvents
[<GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD")>]
[<InterfaceTypeAttribute()>]
type IVsTextLinesEvents =  interface end
public interface IVsTextLinesEvents

The IVsTextLinesEvents type exposes the following members.

Methods

  Name Description
Public method OnChangeLineAttributes Notifies the client when the text line attributes have been changed.
Public method OnChangeLineText Notifies the client when the content of a text line in the buffer has changed.

Top

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace