IEditorOperations::Tabify Method ()

 

Converts the leading white space to tabs on all lines touched by the selection and caret.

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

bool Tabify()

Return Value

Type: System::Boolean

true if the edit succeeded, otherwise false.

If the column position of the first non-whitespace character is not evenly divisible by the tab size, there will be spaces left at the end of the line equal to the remainder of that division.

Return to top
Show: