Condividi tramite


IEditorOperations.MoveToStartOfPreviousLineAfterWhiteSpace Method

Moves the caret to the first non-whitespace character on the previous line.

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

Syntax

'Dichiarazione
Sub MoveToStartOfPreviousLineAfterWhiteSpace ( _
    extendSelection As Boolean _
)
void MoveToStartOfPreviousLineAfterWhiteSpace(
    bool extendSelection
)
void MoveToStartOfPreviousLineAfterWhiteSpace(
    bool extendSelection
)
abstract MoveToStartOfPreviousLineAfterWhiteSpace : 
        extendSelection:bool -> unit 
function MoveToStartOfPreviousLineAfterWhiteSpace(
    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 first line, this method moves it to the first non-whitespace character of the line.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace