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

Was this page helpful? Please email me and/or rate this page:


If you want a reply make sure any email address @torrens.org will not get spam-binned!
Optional comment

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:Wed, 06 Mar 2019 19:14:17 GMT
© 2018 - 2024 Richard Torrens.