LaCava Research Wiki

Initiated September 2017

WidgetMessage: tm-fold-all-tiddlers

24th April 2016 at 7:27pm

The tm-fold-all-tiddlers message folds all tiddlers in the current story list. It does so by setting the text of a state tiddler to either "show" or "hide", according to the fold state.

NameDescription
foldedStatePrefixPrefix for the state tiddler in which the fold state is stored.

The core uses a foldStatePrefix of '$:/state/folded/' to store the fold states for the default story view.

The state tiddlers title is computed as 'foldStatePrefix + TiddlerTitle'. If the foldStatePrefix is not set, it will overwrite the text of the tiddler(s) itself, resulting in data loss.

The tm-fold-all-tiddlers message is usually generated with the ButtonWidget and is handled by the surrounding NavigatorWidget.