ITextCaret Methods

 

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

NameDescription
System_CAPS_pubmethodEnsureVisible()

Makes the caret visible by scrolling the view up or down and left or right until the caret is visible.

System_CAPS_pubmethodMoveTo(ITextViewLine^)

Moves the caret to the specified text line while preserving its current x-coordinate.

System_CAPS_pubmethodMoveTo(ITextViewLine^, Double)

Moves the caret to the best CaretPosition for the specified x-coordinate and text line.

System_CAPS_pubmethodMoveTo(ITextViewLine^, Double, Boolean)

Moves the caret to the best CaretPosition for the specified x-coordinate and text line.

System_CAPS_pubmethodMoveTo(SnapshotPoint)

Moves the caret to the given index in the underlying ITextBuffer.

System_CAPS_pubmethodMoveTo(SnapshotPoint, PositionAffinity)

Moves the caret to the given index in the underlying ITextBuffer.

System_CAPS_pubmethodMoveTo(SnapshotPoint, PositionAffinity, Boolean)

Moves the caret to the given index in the underlying ITextBuffer.

System_CAPS_pubmethodMoveTo(VirtualSnapshotPoint)

Moves the caret to the specified buffer position.

System_CAPS_pubmethodMoveTo(VirtualSnapshotPoint, PositionAffinity)

Moves the caret to the specified buffer position.

System_CAPS_pubmethodMoveTo(VirtualSnapshotPoint, PositionAffinity, Boolean)

Moves the caret to the specified buffer position.

System_CAPS_pubmethodMoveToNextCaretPosition()

Moves the caret to the next valid CaretPosition.

System_CAPS_pubmethodMoveToPreferredCoordinates()

Moves the caret to the preferred x- and y-coordinates.

System_CAPS_pubmethodMoveToPreviousCaretPosition()

Moves the caret to the previous valid CaretPosition.

Return to top
Show: