Método TextSelection.Tabify

Converte espaços em tabulações na seleção de acordo com suas configurações de guia.

Namespace:  EnvDTE
Assembly:  EnvDTE (em EnvDTE.dll)

Sintaxe

'Declaração
Sub Tabify
void Tabify()
void Tabify()
abstract Tabify : unit -> unit 
function Tabify()

Comentários

Converte espaços contíguos guias dentro do texto selecionado, de acordo com a configuração global de tamanho da guia.

Exemplos

Sub TabifyExample()
   ' Before running this example, open a code document.
   Dim objSel As TextSelection = DTE.ActiveDocument.Selection
   ' Select all code in open document.
   objSel.SelectAll()
   ' Convert spaces in selection to Tab characters.
   objSel.Tabify()
End Sub

Segurança do .NET Framework

Consulte também

Referência

TextSelection Interface

Namespace EnvDTE