Partilhar via


IEditorOperations.Unindent Method

Definition

If there is a multi-line selection, unindents the selection. If there is a single line selection, removes up to a tab's worth of white space from before the start of the selection. If there is no selection, removes up to a tab's worth of white space from before the caret position.

public:
 bool Unindent();
public:
 bool Unindent();
bool Unindent();
public bool Unindent ();
abstract member Unindent : unit -> bool
Public Function Unindent () As Boolean

Returns

true if the edit succeeded, otherwise false.

Remarks

If there is a multi-line selection, unindents the selection. If there is a single line selection, removes up to a tab's worth of white space before the start of the selection. If there is no selection, removes up to a tab's worth of white space before the caret position.

Applies to