- Bars on the left margin: a thin vertical bar next to the line numbers runs from the first to the last line of every expanded fold. Nested folds are shown side by side (up to 6 levels); neighbouring folds of the same level change their colour (blue / orange), so two folds that follow each other are easy to tell apart. A collapsed fold shows no bar.
- Fold of the cursor: the innermost expanded fold around the cursor gets a stronger, darker bar and a light blue background from its first to its last line - you see at once where the fold ends.
- Dashed line (optional): a dashed line under the last line of every expanded fold on the top level.
Settings - Settings » Editor » Editing, group Folds:
| Option | Settings key | Default | What it does |
|---|---|---|---|
| Show the range of folds on the left margin | Text_Editor/Fold_Range_Bars | on (true) | vertical bars from the first to the last line of every expanded fold (nested folds side by side, neighbouring folds in alternating colours) |
| Highlight the fold of the cursor | Text_Editor/Fold_Current_Highlight | on (true) | stronger bar and light blue background of the innermost expanded fold around the cursor |
| Dashed line under expanded top level folds | Text_Editor/Fold_Separator_Line | off (false) | dashed line under the last line of every expanded fold on the top level |
The same settings can be read and changed by the editor command API with settings_get / settings_set, e.g. {"cmd":"settings_set","key":"Text_Editor/Fold_Separator_Line","value":true}.
KRC / KUKA iiQKA: how folds are edited - Editing rules for folds.