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
'Declaração
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
- 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.