Editor page (Environment Options dialog box)
Use the Editor page of the Environment Options dialog box to customize editing behavior in the Source pane.
To open the Editor page, choose Tools|IDE Options, then click the Editor tab.
Editor SpeedSetting
Configures how some Editor Options are initially set.
Default Keymapping
Default Keymapping automatically sets the following Editor Options:
- Auto Indent Mode
- Insert Mode
- Smart Tab
- Backspace Unindents
- Group Undo
- Overwrite Blocks
- Use Syntax Highlight
IDE Classic
IDE Classic keymapping automatically sets the following Editor Options:
- Auto Indent Mode
- Insert Mode
- Smart Tab
- Backspace Unindents
- Cursor Through Tabs
- Group Undo
- Persistent Blocks
- Use Syntax Highlight
BRIEF Emulation
BRIEF Emulation keymapping automatically sets the following Editor Options:
- 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
- Use Syntax Highlight
Epsilon Emulation
Epsilon Emulation keymapping automatically sets the following Editor Options:
- Auto Indent Mode
- Insert Mode
- Smart Tab
- Backspace Unindents
- Cursor Through Tabs
- Group Undo
- Overwrite Blocks
- Use Syntax Highlight
Editor Options
Control text handling in the Source pane. Some options are automtically set when you choose the Editor SpeedSetting.
Auto Indent Mode
Positions the cursor under the first non-blank character of the preceding non-blank 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 a tab character when you press the Tab key instead of using spaces to fill the gap.
If disabled, inserts space characters. If the Smart Tab option is enabled, this option is off.
Smart Tab
Tabs to the first non-whitespace character in the preceding line.
If the Use Tab Character option is enabled, this option is off. Generally, this option is off so that when you press Enter at the end of a line, the next line starts at the same indent level as the previous line.
Optimal Fill
Begins every autoindented line with the minimum number of characters possible, using tabs and spaces as necessary.
Backspace Unindents
If the cursor is on the first non-blank character of a line, aligns the insertion point to the previous indentation level (outdents it) when you press Backspace.
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 (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 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 Highlight
Enables syntax highlighting.
To set syntax highlighting preferences, use the options on the Colors page of the Environment Options dialog box.
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 in the Editor or actions in the UI Designer 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:
Getting Started with JBuilder: Setting Editor options