IEditorOperations::ConvertSpacesToTabs Method ()

 

Converts spaces to tabs in the selection, or, if the selection is empty, on the line the caret is on.

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

bool ConvertSpacesToTabs()

Return Value

Type: System::Boolean

true if the edit succeeded, otherwise false.

Only spaces immediately preceding a tab stop will be converted to tabs.

Return to top
Show: