ITextCaret.PositionChanged Event

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

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

event EventHandler<CaretPositionChangedEventArgs> PositionChanged

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft