Partilhar via


ITextCaret.PositionChanged Event

Definition

Occurs when the position of the caret has been explicitly changed.

public:
 event EventHandler<Microsoft::VisualStudio::Text::Editor::CaretPositionChangedEventArgs ^> ^ PositionChanged;
event EventHandler<Microsoft.VisualStudio.Text.Editor.CaretPositionChangedEventArgs> PositionChanged;
member this.PositionChanged : EventHandler<Microsoft.VisualStudio.Text.Editor.CaretPositionChangedEventArgs> 
Event PositionChanged As EventHandler(Of CaretPositionChangedEventArgs) 

Event Type

Remarks

The event is not raised if the caret position was changed as a consequence of tracking normal text edits. The normal behavior of the caret is to move after the typed character.

Applies to