Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IVsTextStreamEvents 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)
[InterfaceTypeAttribute()]
[GuidAttribute("96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52")]
public interface IVsTextStreamEvents

The IVsTextStreamEvents type exposes the following members.

  NameDescription
Public methodOnChangeStreamAttributesNotifies the client that the text stream attributes have changed.
Public methodOnChangeStreamTextNotifies the clients when the content of a text stream in the buffer has changed.
Top

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.