Most of the code in JSup can be entered and edited with this kind of control.
It has the following features:
- Enable the language selection: Math or JavaCode with access to language documentations (see JSup Code - Code documentation).
- Allows to define new tags: simply type the name of the new tag and, with the caret on it, press Ctrl+T keys.
- Allows to replace/edit a tag: simply move the caret on the tag name in the code text and press Ctrl+T keys to open the Tag list dialog (by closing the Tag list dialog pressing Ok o the Enter key the selected tag will be entered/replaced in the current selection).
- Provides code completion (type the beginning of the name of something and press Ctrl+Space) for:
- Tag names.
- Window names (for JavaCode only).
- Alarm group and security group names (for JavaCode only).
- JavaCode library functions and classes / Math code library functions.
- Enable the selection of code custom triggers
- Colored syntax.
In the example above it is shown (near the top/left corner) that the code must return a boolean value.
In the example below the required value type is java.awt.Paint .