Tabify

From TED Notepad
Revision as of 21:14, 25 April 2011 by Jsimlo (talk | contribs)
This section is up to date for TED Notepad version 6.3.1.0.
Control page Control:feature:Tabify

Tabify (Ctrl+Shift+O)

Tabifies the indentation of the selection by replacing groups of leading white-spaces with Tabs on each line according to the current Tab Size setting. See chapter Edit page of the Settings dialog for more details.

If Tabs and Spaces are mixed together on the beginning of a line, the total visual white-space extent is calculated first, and only then Tabs (and Spaces) are used to fill the space of the original indentation. Note that Tabs always take precedence over Spaces while filling the indentation, i.e. Spaces are used only if necessary (where another Tab would overflow the original extent of the indentation).

Note: Using this tool should not generate any visible changes to the indentation, when used with a fixed-width font. However, some proportional fonts do not use the average character width for Spaces, thus Tabs may seem to be longer than a set of Spaces. This is a visual inconvenience only and should not be considered incorrect.

Note: This tool does not modify any other white-spaces than the leading ones.

See also Untabify tool.