Udostępnij za pośrednictwem


IEditorOperations.MoveToLastNonWhiteSpaceCharacter(Boolean) Method

Definition

Moves the caret to just before the last non-white space character in the line.

public:
 void MoveToLastNonWhiteSpaceCharacter(bool extendSelection);
public:
 void MoveToLastNonWhiteSpaceCharacter(bool extendSelection);
void MoveToLastNonWhiteSpaceCharacter(bool extendSelection);
public void MoveToLastNonWhiteSpaceCharacter (bool extendSelection);
abstract member MoveToLastNonWhiteSpaceCharacter : bool -> unit
Public Sub MoveToLastNonWhiteSpaceCharacter (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

If the line is blank, the caret is moved to the start of the line.

Applies to