MoveToLastNonWhiteSpaceCharacter Method
Collapse the table of content
Expand the table of content

IEditorOperations.MoveToLastNonWhiteSpaceCharacter Method (Boolean)


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

Namespace:   Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

void MoveToLastNonWhiteSpaceCharacter(
	bool extendSelection


Type: System.Boolean

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

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

Return to top
© 2016 Microsoft