Use the Editor page of the Editor Options dialog box to customize editing behavior.
To open the Editor page, choose Tools|Editor Options, then click the Editor tab. You can also right-click in the editor and select Editor Options. Click the expand icon to expand the list of options.
Sets the keymapping definitions for the editor and the IDE menus. For a complete listing of editor keymapping definitions, see Keymaps. Keymap definitions are also listed in the Keymap Editor dialog box
Displays the Keymap Editor dialog box where you can customize your keymapping for the selected keymap.
Specifies the number of characters between indent levels in text. This is the effective 'tab stop' level for everything except actual tab characters. The value is used for indenting marked blocks and for indenting when the tab key is pressed. The default is 2; the upper limit is 20. If you enter a value greater than 20, you will receive an error.
Sets the number of characters between tab stops for actual tab characters. This option is only used for displaying text already containing tab characters. Pressing the tab key may indent by a different amount. See Block Indent above. The default setting is 8.
Use the Backup slider to specify the number of file backups. The maximum number of backups is 30.
Options that determine how smart keys work in the editor. Click expand icon to expand the list.
When this option is enabled, Home moves the cursor to the left of the first non-blank character on a line. If the cursor is already in this position, it is moved to the beginning of the line instead.
When this option is enabled, End moves the cursor to the right of the last non-blank character on a line. If the cursor is already in this position, it is moved to the end of the line instead.
Indents to align the cursor with the left edge of words in the first non-blank line above the current line. Searches for the first next non-whitespace character in the above line that is preceeded by whitespace. If no character matching this description is found, tab reverts to indenting to the next block indent position.
Options that determine how indents work in the editor.
Positions the cursor under the first non-blank character of the preceding non-blank line when you press Enter. Smart indent must be on for Indent After Brace to work.
Automatically indents the next line after you enter a brace. Smart indent must be on for Indent After Brace to work.
When indenting a line, the Use Tab Character option automatically replaces space characters with tab characters as appropriate. For example, if 'block indent' is set to 2 and 'tab size' is set to 8, tabbing four times at the start of a line results in a single tab character. Tab characters are never inserted after non-whitespace characters, even if this option is enabled.
When you enter a closing curly brace, the editor aligns it with the opening curly brace.
Options that affect the screen display in the editor.
Controls whether the cursor is blinking or not.
Options that take effect when saving a file.
Removes any trailing whitespaces in the file when you save.
Removes leading tab characters ("\t") on all lines and replaces them with spaces when you save.
Replaces leading spaces with tabs when you save.
Shows a dialog when the search fails. When this option is not selected, the dialog is suppressed and the message is displayed on the status bar.
Automatically places the word closest to the cursor position in the Text To Find field in the Find/Replace Text dialog box.