Folding
In the script editor you can fold and unfold code elements (regions). When you fold a code element, the element is collapsed so that the corresponding source code is hidden. The folding of elements can provide a better overview of the script structure, especially in large scripts.
The script editor supports folding of the following region types:
- functions
- header comments. Note: only header lines with a double *, for example lines starting with “|**”, are folded.
- macros
- sections
To fold a region, click the minus sign that is displayed at the beginning of the region. A plus sign is displayed at the beginning of the folded region.
This figure shows an example:
To unfold the region again, click this plus sign.
When you hover over a folded 4GL element, the hidden code is displayed.
This figure shows an example: