The auto-indent feature applies when you are editing or entering new text. The file(s) are displayed according to the text they contain - so if your existing file contains spaces or tabs before the actual identifiers etc (ie there are spaces before "for" in your example) these will always be displayed.
The auto-indent feature applies when you are editing or entering new text. The file(s) are displayed according to the text they contain - so if your existing file contains spaces or tabs before the actual identifiers etc (ie there are spaces before "for" in your example) these will always be displayed.