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)
Syntax
'宣言
Sub MoveToStartOfNextLineAfterWhiteSpace ( _
extendSelection As Boolean _
)
void MoveToStartOfNextLineAfterWhiteSpace(
bool extendSelection
)
void MoveToStartOfNextLineAfterWhiteSpace(
bool extendSelection
)
abstract MoveToStartOfNextLineAfterWhiteSpace :
extendSelection:bool -> unit
function MoveToStartOfNextLineAfterWhiteSpace(
extendSelection : boolean
)
Parameters
- extendSelection
Type: System.Boolean
If true, the selection is extended when the caret is moved; if false, the selection is not extended.
Remarks
If the caret is on the last line, this method moves it to the first non-whitespace character in the line.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.