IEditorOperations::Unindent Method ()

 

Unindents the text.

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

bool Unindent()

Return Value

Type: System::Boolean

true if the edit succeeded, otherwise false.

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.

Return to top
Show: