Home Page (Text Editor) | Overview | How Do I ... Topics | FAQ | Reference
You can select sections of code to automatically indent (AutoIndent), but the Text editor does not automatically reformat to merge or break up lines of code.
To quickly indent sections of code, first set the Smart Indent settings you want, then select the code you want to format.