Condividi tramite


IEditorOperations.MoveToLastNonWhiteSpaceCharacter Method

Moves the caret to just before the last non-white space character in the line.

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

Syntax

'Dichiarazione
Sub MoveToLastNonWhiteSpaceCharacter ( _
    extendSelection As Boolean _
)
void MoveToLastNonWhiteSpaceCharacter(
    bool extendSelection
)
void MoveToLastNonWhiteSpaceCharacter(
    bool extendSelection
)
abstract MoveToLastNonWhiteSpaceCharacter : 
        extendSelection:bool -> unit 
function MoveToLastNonWhiteSpaceCharacter(
    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 line is blank, the caret is moved to the start of the line.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace