Expand Minimize
This topic has not yet been rated - Rate this topic

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: 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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.