Expand Minimize

IEditorOperations.MoveToStartOfNextLineAfterWhiteSpace Method

Moves the caret to the first non-whitespace character in the next line.

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

void MoveToStartOfNextLineAfterWhiteSpace(
	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 caret is on the last line, this method moves it to the first non-whitespace character in the line.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft