Editor page (Editor Options dialog box)
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
icon to expand the list of options.
Keymap
Sets the keymapping definitions for the editor to CUA (default), Emacs, Brief, or Visual Studio®.
For a complete listing of editor keymapping definitions, see Keymaps. Keymap definitions are also listed in the Keymap Editor dialog box
Customize
Displays the Keymap Editor dialog box where you can customize your keymapping for the selected keymap.
Block Indent
Specifies the number of spaces to indent a marked block. The default is 2; the upper limit is 20. If you enter a value greater than 20, you will receive an error.
Tab Size
Sets the number of spaces separating each tab stop. The default is 8.
If the Use Tab Character option is enabled, this option is off. Generally, this option is off so when you press Enter at the end of a line, the next line starts at the same indent level as the previous line.
Backup Level
Use the Backup slider to specify the number of file backups. The maximum number of backups is 30.
Smart Key Options
Options that determine how smart keys work in the editor. Click
icon to expand the list.
Smart Home
Positions the cursor to the left after the first, non-blank character on a line.
Smart End
Positions the cursor to the right after the last, non-blank character on a line.
Smart Tab
Tabs to the first non-whitespace character in the preceding line.
Enable International Input Methods
Enables keyboards with international characters. To use the Input Method in the editor, turn on this option.
Indent Options
Options that determine how indents work in the editor.
Smart Indent
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.
Indent After Brace
Automatically indents the next line after you enter a brace. Smart indent must be on for Indent After Brace to work.
Use Tab Character
Inserts tab to replace spaces.
If disabled, inserts space characters. If the Smart Tab option is enabled, this option is off.
Align Closing Curly Brace
When you enter a closing curly brace, the editor aligns it with the opening curly brace.
Display Options
Options that affect the screen display in the editor.
Blink Caret
Controls whether the cursor is blinking or not.
Save Options
Options that take effect when saving a file.
Strip Trailing Whitespace
Removes any trailing whitespaces in the file when you save.
Change Leading Tabs To Spaces
Removes leading tab characters ("\t") on all lines and replaces them with spaces when you save.
Change Leading Spaces To Tabs
Replaces leading spaces with tabs when you save.
Search Options
Show Dialog When Search Fails
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.
Search Word At Cursor
Automatically places the word closest to the cursor position in the Text To Find field in the Find/Replace Text dialog box.