IEditorOperations.MoveToHome(Boolean) IEditorOperations.MoveToHome(Boolean) IEditorOperations.MoveToHome(Boolean) Method

Definition

Moves the caret to the first text column on the line.

public void MoveToHome (bool extendSelection);
abstract member MoveToHome : bool -> unit
Public Sub MoveToHome (extendSelection As Boolean)
Parameters
extendSelection
Boolean Boolean Boolean

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

Remarks

The result of this method is the same as the result of pressing the Home key. If the caret is already at the first text column, or if there is no text, this method moves the caret to the first column on the line.

Applies to