# Text Editors preference page

The following preferences can be changed on the General > Editors > Text Editors page.

## Appearance options

Option | Description | Default
--- | --- | ---
Undo history size | This option allows you to set the size of the undo history for text editors. | 200
Displayed tab width | This option allows you to set the displayed tab width for text editors. | 4
Insert spaces for tabs | This option allows you to insert space characters in place of tab characters. | Off
Highlight current line | This option controls whether or the current line is highlighted or not. | On
Show print margin | This option controls whether the print margin is visible or not. | Off
Print margin column | This option allows you to set the print margin column position. | 80
Show line numbers | This option controls whether or not line numbers are shown on the left side of the text editor. | Off
Show range indicator | This option controls whether or not range indicators are shown in the text editor. | On
Show whitespace characters | This option controls whether to display whitespace characters in text editors. | Off
Enable drag and drop of text | This option controls whether text drag and drop is enabled. | On
Warn before editing a derived file | This option controls whether to warn if a derived file is going to be edited. | On
Smart caret positioning at line start and end | This option controls whether the editor automatically positions the caret and the start or end of a line. | On
Show affordance in hover on how to make it sticky | This option controls whether to show an affordance in the hover on how to make it sticky. | On
Appearance color options | This option controls various appearance colors. |

Here is how the Text Editors preference page looks like:

Editor