Editor settings by type of editor


Most Editor Settings are divided by type of editor - Plain, HTML, Java and JSP editors in Forte for Java, Community Edition (with other types added by extension modules). Even though the different editors have many of the same properties in common, most of the properties for the different types of editor are configured separately. The only exception is Global Key Bindings which is configured globally for all types of editors.

Table 45: Standard properties (available separately for each editor type)
Property
Description
Abbreviations
Enables you to use the Abbreviations (Map) custom property editor to set abbreviations that the Editor will automatically expand to longer strings when you type them.
Expand tabs to spaces
If True, tabs in the document are converted to spaces padded to the same column.
Font Size
If you change this property, the font for all tokens will be set to that size, regardless of sizes set in the Fonts and Colors property.
Fonts and Colors
Provides access to a custom property editor where background and foreground colors as well as fonts can be set for various syntax tokens.
Key Bindings
Clicking on the property and then clicking on the ... button brings up the Key Bindings property editor, which enables you to add, remove, and edit key bindings.
Line Numbers
If True, the lines are numbered.
Number of Spaces per Tab
Number of spaces a block is indented when you enter TAB.
Tab size
Number of spaces between each tab stop in the editor. The tab stops are used when importing files into the editor.
Table 46: Expert properties (available separately for each editor type)
Property
Description
Caret Blink Rate
Rate in milliseconds that the insertion point (caret) blinks.
Display Text Limit Line
If True, shows a vertical line to mark suggested maximum line width (for example, for printing).
Highlight Caret Row
If True, the row where the insertion point is highlighted.
Highlight Matching Bracket
If True, whenever the insertion point is immediately after a brace, bracket, or parenthesis, the matching brace/bracket/parenthesis is highlighted.
Insert Caret
The type of insertion point that appears when in insert mode. From the drop-down list you can choose between line, thin line, and block.
Insert Caret Color
Choose a color by clicking on the property and then either selecting a color from the drop-down list or invoking the custom property editor for colors by pressing ....
Italic Insert Caret
If True, insertion point is italic when in insert mode.
Italic Overwrite Caret
If True, insertion point is italic when in overwrite mode.
Line Height Correction
Multiplier to adjust height of lines.
Line Number Margin
Brings up a custom property editor to set up placement of line numbers.
Margin
Brings up a custom property editor to set top, bottom, left, and right margins.
Overwrite caret
The type of insertion point that appears when in overwrite mode. From the drop-down list you can choose between line, thin line, and block.
Overwrite caret color
Insertion point color when in overwrite mode.
Scroll Find Insets
Specify how much space should be reserved on each side of text located with the Find command.
Scroll Jump Insets
Specify for each four directions how much the view should jump when the scrolling goes off of the screen.
Status Bar Caret Delay
The delay in milliseconds between the time the insertion point stops moving and its position is updated in the status bar.
Status Bar Visible
If True, the status bar (which shows information such as current line number, whether the Editor is in insert or overwrite mode, and so on) is displayed at the bottom of the window.
Text Limit Character Count
The number of characters right of the left margin that the text limit line is displayed.
Text Limit Line Color
The color of the text limit line.
Table 47: Java-only Editor Settings
Property
Description
Add Space before Parenthesis
If True, a space is added before the opening parenthesis in the generated code.
Auto Popup of Java Completion
If True, the Java code completion box automatically appears when appropriate.
Curly Brace on Next Line
If True, the curly braces generated automatically are put on the line following the previous code.
Delay of Java Auto Completion Popup
Delay in milliseconds before the Java Completion popup appears.

Contents Prev Next Index