Freigeben über


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)

Syntax

'Declaration
Event Changed As EventHandler(Of TextContentChangedEventArgs)
event EventHandler<TextContentChangedEventArgs> Changed
 event EventHandler<TextContentChangedEventArgs^>^ Changed {
    void add (EventHandler<TextContentChangedEventArgs^>^ value);
    void remove (EventHandler<TextContentChangedEventArgs^>^ value);
}
abstract Changed : IEvent<EventHandler<TextContentChangedEventArgs>,
    TextContentChangedEventArgs>
JScript does not support events.

Remarks

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.

.NET Framework Security

See Also

Reference

ITextBuffer Interface

Microsoft.VisualStudio.Text Namespace

TextContentChangedEventArgs