To open this page, click the Source Format tab in the Options of the Editor dialog box.
You can use this tab to change the code generation and automatic indentation options.
Source formatting options
Check boxes
Complete instruction blocks
Checked |
When you enter the first instruction in an instruction block (IF / END, DO_WHILE / REDO), the line marking the end of the block (END for an IF instruction) is inserted into the source automatically. |
Default: unchecked.
Close brackets
Box checked |
With brackets and similar paired characters, the closing character is generated automatically when the opening character is entered. The insertion cursor is located between the opening and closing characters. The characters treated like brackets are square brackets and text constant markers. Thus the characters completed by this option are: (), [], ''. |
Default setting: checked.
Indent 4GL source automatically
Checked |
The source is indented (aligning the various instruction blocks) automatically when new source lines are inserted. |
Default: unchecked.
Adjust case automatically during input
in Adelia sources
Checked |
With language elements in Adelia type sources, all letters entered using the keyboard are recorded in upper case, including accented characters (and ç), irrespective of the position of the Shift and Shift Lock keys. |
Default: checked.
in Visual or Web sources
Checked |
With language elements in Visual Adelia or Adelia Web type sources, all letters entered using the keyboard are recorded in upper case, including accented characters (and ç), irrespective of the position of the Shift and Shift Lock keys. |
Default: checked.
Enable source fragment generation
Checked |
Source fragments are available in the source code completion graphical list. |
Default: checked.
List
Source fragments
The graphical list lets you work with the environment's source fragments.
To create a new source fragment, enter its name and description directly on the last line in the list (i.e. on a blank line).
To rename a fragment or change its description, single-click on the value that you want to change.
Context-sensitive menu
Rename
You can use this option to rename the fragment currently in focus in the list.
Edit source
This option opens a dialog box that lets you access the fragment's source code.
Double-clicking on the fragment's line in the list has the same effect.
Delete
This option deletes the selected source fragments.
Export
This option opens a Windows system dialog box that lets you export the selected source fragment to an XML file.
Import
This option opens a Windows system dialog box that lets you import a source fragment from an XML file.
The source fragment management tool does not prevent the existence of duplicates. The user must therefore differentiate fragments by assigning them different names or remarks, or else by deleting certain fragments.
Buttons
OK
Validates any changes and closes the dialog box.
Cancel
Closes the dialog box without validating any changes.
Keyboard shortcut: Esc.