Udostępnij za pośrednictwem


IEditorOperations.MoveToHome(Boolean) Method

Definition

Moves the caret to the first text column on the line; if the caret is already at the first text column or there is no text, move the caret to the first column on the line.

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

Parameters

extendSelection
Boolean

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

Remarks

This is effectively the behavior of pressing the Home key

Applies to