ITextCaret Methods
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
| Name | Description | |
|---|---|---|
![]() | EnsureVisible() | Makes the caret visible by scrolling the view up or down and left or right until the caret is visible. |
![]() | MoveTo(ITextViewLine^) | Moves the caret to the specified text line while preserving its current x-coordinate. |
![]() | MoveTo(ITextViewLine^, Double) | Moves the caret to the best CaretPosition for the specified x-coordinate and text line. |
![]() | MoveTo(ITextViewLine^, Double, Boolean) | Moves the caret to the best CaretPosition for the specified x-coordinate and text line. |
![]() | MoveTo(SnapshotPoint) | Moves the caret to the given index in the underlying ITextBuffer. |
![]() | MoveTo(SnapshotPoint, PositionAffinity) | Moves the caret to the given index in the underlying ITextBuffer. |
![]() | MoveTo(SnapshotPoint, PositionAffinity, Boolean) | Moves the caret to the given index in the underlying ITextBuffer. |
![]() | MoveTo(VirtualSnapshotPoint) | Moves the caret to the specified buffer position. |
![]() | MoveTo(VirtualSnapshotPoint, PositionAffinity) | Moves the caret to the specified buffer position. |
![]() | MoveTo(VirtualSnapshotPoint, PositionAffinity, Boolean) | Moves the caret to the specified buffer position. |
![]() | MoveToNextCaretPosition() | Moves the caret to the next valid CaretPosition. |
![]() | MoveToPreferredCoordinates() | Moves the caret to the preferred x- and y-coordinates. |
![]() | MoveToPreviousCaretPosition() | Moves the caret to the previous valid CaretPosition. |
