# Source Editor Tabs and Indentation

Use the Source Editor Preferences dialog box (Preferences -> Source Editor) to configure tab and indent settings for the source editor. You can also use this dialog box to turn Auto Indent on or off.

Auto Indent | Causes the editor to automatically indent the next line to the same column position as the most recently inserted line.
Indent Size | The number of columns (in space characters) between indent locations. When you press the Tab key, the cursor moves to the next indent location. The default value is four spaces.
Tab Size | The number of space characters the editor converts to one tab character. The default value is eight spaces.

For example, if Indent Size is set to nine characters and Tab Size is set to four characters, the editor will convert the interval between every indent stop to be two tab characters and one space character.

See also:

  Editing Source
  Syntax Highlighting and Colors
  Source Editor Fonts