# Text Editors

The following preferences can be changed on the General > Editors > Text Editors preference 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
Remove multiple spaces on backspace/delete | This option allows you to set whether hitting backspace or delete in text editors deletes only 1 space character (if `off`) or deletes as many space characters as defined in Display tab width (if `on`). | 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
Allow editors to override the margin column | This option tells whether editors are allowed to override the print margin column. | false
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
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
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 code minings for problem annotations: | This option controls for which sevirities the problem markers should be displayed as code minings in text editors. | None
Maximum annotations shown | This option controls the maximum number of problem annotations to show as code mining (too high number can have negative impact on performance). | 100
Appearance color options | This option controls various appearance colors. |

### Related reference

Editor