Expand Minimize
This topic has not yet been rated - Rate this topic

IEditorOperations.MoveToLastNonWhiteSpaceCharacter Method

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
)

Parameters

extendSelection
Type: 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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.