You can convert tabs to spaces and vice versa.
To do so:
The selection will be expanded to consist of complete lines, and the indentation whitespace at the start of those lines will be converted to tabs or spaces respectively.
This is useful particularly when a script must be pasted into some other environment, where spaces are better interpreted than tab characters. For example, before copying and pasting a script into an email message or a web page, you might Select All and then Detab.
The size of tab stops (the number of spaces to which each tab corresponds) is determined by the Editor preference, “Tab Width.”
See also on Show Invisibles, Show Spaces, and Show Tab Stops.