ITextCaret.MoveToNextCaretPosition Method

Definition

Moves the caret to the next valid CaretPosition.

public:
 Microsoft::VisualStudio::Text::Editor::CaretPosition MoveToNextCaretPosition();
Microsoft::VisualStudio::Text::Editor::CaretPosition MoveToNextCaretPosition();
public Microsoft.VisualStudio.Text.Editor.CaretPosition MoveToNextCaretPosition ();
abstract member MoveToNextCaretPosition : unit -> Microsoft.VisualStudio.Text.Editor.CaretPosition
Public Function MoveToNextCaretPosition () As CaretPosition

Returns

A CaretPosition containing the valid values of the caret after the move has occurred.

Remarks

This method handles UTF-16 surrogate pairs and combining character sequences.

Applies to