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)

Syntax

'Declaration
Function Tabify As Boolean
bool Tabify()
bool Tabify()
abstract Tabify : unit -> bool
function Tabify() : boolean

Return Value

Type: System.Boolean
true if the edit succeeded, otherwise false.

Remarks

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.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace