Partager via


IEditorOperations.MoveToStartOfLineAfterWhiteSpace Method

Moves the caret to the first non-whitespace character of the line.

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

Syntax

'Déclaration
Sub MoveToStartOfLineAfterWhiteSpace ( _
    extendSelection As Boolean _
)
void MoveToStartOfLineAfterWhiteSpace(
    bool extendSelection
)
void MoveToStartOfLineAfterWhiteSpace(
    bool extendSelection
)
abstract MoveToStartOfLineAfterWhiteSpace : 
        extendSelection:bool -> unit 
function MoveToStartOfLineAfterWhiteSpace(
    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.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace