In This Article

IEditorViewSelectionChangeEventSink Interface

Provides the base requirements for an object that can be notified of IEditorView selection change events.

public interface IEditorViewSelectionChangeEventSink

Remarks

Objects implementing this event sink interface can be registered as a service with an ISyntaxLanguage using the RegisterService(object, object) method. Any object implementing this interface will be notified automatically when related events occur.

Methods

NotifySelectionChanged(IEditorView, EditorViewSelectionEventArgs)

Notifies when the selection is changed in the specified IEditorView.

void NotifySelectionChanged(IEditorView view, EditorViewSelectionEventArgs e)
Parameter Type Description
view IEditorView

The IEditorView that received the event.

e EditorViewSelectionEventArgs

The EditorViewSelectionEventArgs that contains the event data.