Use the Text Editor Options dialog to control how the Text Editor Window operates (see Using the Text Editor for more information). Options for the Text Editor Window are also controlled by the Editor Options and the File Interface Options dialogs. To display the Text Editor Options window, click 'Tools > Options...' and select Text Editor from the list.
- Home Key Always Moves to First Column - By default, when the Home key is pressed in the Text Editor Window the cursor moves to the first non-space character on the current line. If the cursor is already at the first non-space character, pressing the Home key moves the cursor to the first column. If the Home Key Always Moves to First Column toggle is enabled the cursor will always move to the beginning of the line when Home is pressed.
- Insert Date Format - This option controls the format of the date when inserted with the 'Edit > Insert Date/Time' menu option. The following character codes can be used when setting the date format:
- h - hour without leading zero
- hh - hour with leading zero
- m - minute without leading zero
- mm - minute with leading zero
- s - second without leading zero
- ss - second with leading zero
- z - millisecond without leading zero
- zzz - millisecond with leading zero
- AP - either AM or PM
- ap - either am or pm
- d - day without leading zero
- dd - day with leading zero
- ddd - short day (e.g. 'Mon')
- dddd - long day (e.g. 'Monday')
- M - month without leading zero
- MM - month with leading zero
- MMM - short month (e.g. 'Jan')
- MMMM - long month (e.g. 'January')
- yy - 2-digit year
- yyyy - 4-digit year
- Insert Color Format - This option determines the format of a color when inserted using the 'Edit > Insert Color' menu option. The following special codes are available for use within the color format:
- RR - insert the red component of the color in hex notation
- GG - insert the green component of the color in hex notation
- BB - insert the blue component of the color in hex notation
- Maximum Line Length - When using the Text Editor with Word Wrap turned off, any long lines in the file will be split into multiple lines in the editor. Any line that is generated by splitting a long line is indicated by a '-' mark in the Address area on the left side of the editor. The maximum length of each line before it is split can be specified using the Maximum Line Length field. Any line length can be used but note that using very long lines may cause performance issues on some computers.
The Show Whitespace group controls options when whitespace visualization is turned on using the 'View > Tabs/Whitespace > Show Whitespace' menu option on the View Menu. When the Display Linefeeds toggle is enabled a symbol is drawn at the end of each line in the Text Editor to indicate the type of linefeed the line uses. If Do Not Display Linefeeds is chosen then no symbol is displayed and if Only Display Linefeeds if Different than the File's Default Linefeed Type is chosen then a symbol is only drawn at the end of the line if the line contains a different type of linefeed (for example if editing a file containing DOS linefeeds and the file also contained a few lines with Unix linefeeds, only the Unix linefeed symbols would be shown).
To control which symbol is displayed in the Text Editor for each type of whitespace type click the Change Whitespace Symbols button. Click on a symbol in the table and select a new symbol using the Change Symbol dialog. Note the color of the whitespace symbols can be controlled using the Show Whitespace color in the Theme/Color Options dialog.
Press the Reset button to return all Text Editor Options and whitespace symbols to their default values.