Folding

Folding takes sections of the text and 'folds' them away, so that only the first line of the section is visible. These folds can then be open and closed as required.

Folding a text does not change the text. However fold markers must be defined to create points where the text can be folded. By default, the marker is an asterisk at the start of a line. This can be a nice way to organize various kinds of lists.

For instance, consider a recipe list that looks like this:
foldtext/png
When this is folded, it looks like this:
folded/png
If you click on the above you can download the actual text and experimant for yourself. Once folded, a Select click on a red arrow will open that fold. An Adjust click on the arrow will close it again.
Especially for this kind of list, it can be neccessary to fold on different markers in different texts. Instead of making a specific mode for each of these cases, you can specify it directly in the text.

Basic Mode

This screenshot shows a BASIC text, folded, with one open fold. foldbas/png

The default keys used for folding are all on the numeric keypad:

ctrl-KpMin folds the entire text
ctrl-KpPlus unfolds the entire text
shift-KpMin opens a fold
shift-KpPlus closes a fold

Other relevant pages

Top of page


Page Information

http://css.torrens.org/valid-html401-bluehttp://css.torrens.org/valid-css Document URI: http://stronged.torrens.org/man/folding.html
Page first published 13th of June, 2018
Last modified:Sat, 16 Jun 2018 15:18:45 BST
© 2018 - 2018 Richard Torrens.