Compartir a través de


ITextBuffer2.ChangedOnBackground Event

Definition

Occurs when a non-empty ITextEdit is successfully applied. This is raised on a background thread. Listeners are expected to schedule any expensive work to be done asynchronously outside of this thread.

public:
 event EventHandler<Microsoft::VisualStudio::Text::TextContentChangedEventArgs ^> ^ ChangedOnBackground;
event EventHandler<Microsoft.VisualStudio.Text.TextContentChangedEventArgs> ChangedOnBackground;
member this.ChangedOnBackground : EventHandler<Microsoft.VisualStudio.Text.TextContentChangedEventArgs> 
Event ChangedOnBackground As EventHandler(Of TextContentChangedEventArgs) 

Event Type

Remarks

Listeners of this event are not expected to modify the buffer. For performance reasons handlers that modify the buffer should listen to ChangedHighPriority event instead.

This event is raised after ChangedHighPriority event. It's guaranteed that individual listeners receive the ChangedOnBackground events in a synchronized way (never on more than one thread at a time) and in the order the edits were applied.

Applies to