Tab to space conversion

See commit messages.
Maybe it's better to take the setting from the Formatter preferences (there's an 'indent with tabs' checkbox).