Udostępnij za pośrednictwem


ITextCaret.MoveToPreviousCaretPosition Method

Definition

Moves the caret to the previous valid CaretPosition.

public:
 Microsoft::VisualStudio::Text::Editor::CaretPosition MoveToPreviousCaretPosition();
Microsoft::VisualStudio::Text::Editor::CaretPosition MoveToPreviousCaretPosition();
public Microsoft.VisualStudio.Text.Editor.CaretPosition MoveToPreviousCaretPosition ();
abstract member MoveToPreviousCaretPosition : unit -> Microsoft.VisualStudio.Text.Editor.CaretPosition
Public Function MoveToPreviousCaretPosition () 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