Partager via


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

'Declaration
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: 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

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace