We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

ITextBuffer.Changed Event

Occurs when a non-empty ITextEdit is successfully applied.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

event EventHandler<TextContentChangedEventArgs> Changed

This event is raised after ChangedHighPriority events and before ChangedLowPriority events.

If a second edit is applied by a listener to the Changed event (or the ChangedHighPriority or ChangedLowPriority events), the Changed events for the second edit will not be raised until all listeners have been notified of the first edit (via ChangedLowPriority, Changed, and [:Microsoft.VisualStudio.Text.ITextBuffer.ChangedHighPriority] events). That is, the events for subsequent edits are queued. This ensures listeners receive the Changed events in the order the edits were applied.

Show: