IEditorOperations.MoveCaret(ITextViewLine, Double, Boolean) IEditorOperations.MoveCaret(ITextViewLine, Double, Boolean) IEditorOperations.MoveCaret(ITextViewLine, Double, Boolean) IEditorOperations.MoveCaret(ITextViewLine, Double, Boolean) IEditorOperations.MoveCaret(ITextViewLine, Double, Boolean) IEditorOperations.MoveCaret(ITextViewLine, Double, Boolean) Method

Definition

Moves the caret to the given textLine at the given horizontalOffset.

public:
 void MoveCaret(Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^ textLine, double horizontalOffset, bool extendSelection);
public:
 void MoveCaret(Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^ textLine, double horizontalOffset, bool extendSelection);
void MoveCaret(Microsoft::VisualStudio::Text::Formatting::ITextViewLine const & textLine, double horizontalOffset, bool extendSelection);
public void MoveCaret (Microsoft.VisualStudio.Text.Formatting.ITextViewLine textLine, double horizontalOffset, bool extendSelection);
abstract member MoveCaret : Microsoft.VisualStudio.Text.Formatting.ITextViewLine * double * bool -> unit
Public Sub MoveCaret (textLine As ITextViewLine, horizontalOffset As Double, extendSelection As Boolean)
Parameters
horizontalOffset
Double Double Double Double Double Double

The horizontal location in the given textLine to which to move the caret.

extendSelection
Boolean Boolean Boolean Boolean Boolean Boolean

If true, the selection is extended when the caret is moved; if false, the selection is not extended.

Exceptions

Applies to