Editor page

Use the Editor page of the Environment Options dialog box to customize the editing behavior in the Source pane.

To open the Editor page, choose Tools|IDE Options, then click the Editor tab.

Dialog box options

Editor SpeedSetting

Use the Editor SpeedSettings to configure the editing features.

Default Keymapping
The Default Keymapping automatically sets Auto Indent Mode, Insert Mode, Smart Tab, Backspace Unindents, Group Undo, Overwrite Blocks, and Use Syntax Highlight.

IDE Classic
The IDE Classic keymapping automatically sets Auto Indent Mode, Insert Mode, Smart Tab, Backspace Unindents, Cursor Through Tabs, Group Undo, Persistent Blocks, and Use Syntax Highlight.

BRIEF Emulation
The BRIEF Emulation keymapping automatically sets Auto Indent Mode, Insert Mode, Smart Tab, Backspace Unindents, Cursor Through Tabs, Cursor Beyond EOF, Keep Trailing Blanks, BRIEF Regular Expressions, Force Cut And Copy Enabled, and Use Syntax Highlight.

Epsilon Emulation
The Epsilon Emulation keymapping automatically sets Auto Indent Mode, Insert Mode, Smart Tab, Backspace Unindents, Cursor Through Tabs, Group Undo, Overwrite Blocks, and Use Syntax Highlight.

Editor Options

Use the following editor option check boxes to control text handling in the Source pane.

Auto Indent Mode
When selected, positions the cursor under the first nonblank character of the preceding nonblank line when you press Enter.

Insert Mode
Inserts text at the cursor without overwriting existing text. If Insert Mode is disabled, text at the cursor is overwritten. (Use the Ins key to toggle Insert Mode in the Source pane without changing this default setting.)

Use Tab Character
Inserts tab character. If disabled, inserts space characters. If Smart Tab is enabled, this option is off.

Smart Tab
Tabs to the first non-whitespace character in the preceding line. If Use Tab Character is enabled, this option is off.

Optimal Fill
Begins every autoindented line with the minimum number of characters possible, using tabs and spaces as necessary.

Backspace Unindents
Aligns the insertion point to the previous indentation level (outdents it) when you press Backspace, if the cursor is on the first nonblank character of a line.

Cursor Through Tabs
Enables the arrow keys to move the cursor to the beginning of each tab.

Group Undo
Undoes your last editing command as well as any subsequent editing commands of the same type, if you press Alt+Backspace or choose Edit|Undo.

Cursor Beyond EOF
Positions the cursor beyond the end-of-file character.

Undo After Save
Allows you to retrieve changes after a save.

Keep Trailing Blanks
Keeps any blanks you might have at the end of a line.

BRIEF Regular Expressions
Uses BRIEF regular expressions.

Persistent Blocks
Keeps marked blocks selected even when the cursor is moved, until a new block is selected.

Overwrite Blocks
Replaces a marked block of text with whatever is typed next. If Persistent Blocks is also selected, text you enter is added to the currently selected block.

Double Click Line
Highlights the line when you double-click any character in the line. If disabled, only the selected word is highlighted.

Find Text At Cursor
Places the text at the cursor into the Text To Find list box in the Find Text dialog box when you choose Search|Find. When this option is disabled you must type in the search text, unless the Text To Find list box is blank, in which case the editor still inserts the text at the cursor.

Force Cut And Copy Enabled
Enables Edit|Cut and Edit|Copy, even when there is no text selected.

Use Syntax Highlighting
Enables syntax highlighting. To set syntax highlighting preferences, use the options from the Environment Options Display page.

Block Indent

Specifies the number of spaces to indent a marked block. The default is 1; the upper limit is 16. If you enter a value greater than 16, you will receive an error.

Undo Limit

Specifies the number of keystrokes that can be undone. The default value is 32,767 (32K). The undo buffer is cleared each time JBuilder generates code.

Tab Stops

Sets the character columns that the cursor will move to each time you press Tab. If each successive tab stop is not larger than its predecessor, you will receive an error. The default tab stops are 9 and 17.

Syntax Extensions

Specifies, by extension, which files will display syntax highlighting information. The default extensions are .java, .c, .dpr, and .dfm.

See also:
User's Guide: Setting Editor options