ITextCaret.PositionChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.