ITextBuffer::Changing Event

 

Occurs just before a non-empty ITextEdit is applied.

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

event EventHandler<TextContentChangingEventArgs^>^ Changing {
	void add(EventHandler<TextContentChangingEventArgs^>^ value);
	void remove(EventHandler<TextContentChangingEventArgs^>^ value);
}

If the edit operation is canceled in this event, another edit operation can be started immediately in the event handler. For example, you can this event may be used to provide checkout on edit as an implicit, user-cancelable source control functionality.

Return to top
Show: