\define saveSnapshot()
<$button set="$:/_snapshots##$(snapshot)$" setTo={{$:/StoryList!!list}}>Save Snapshot</$button>
\end
\define showSnapshot()
<$button set="$:/StoryList!!list" setTo={{$:/_snapshots##$(snap)$}}>Show Snapshot</$button>
\end
;Show Snapshot
<span title="Select a Snapshot"><$select tiddler="$:/_snapshots" field="story-name" default='(none)'>
<$list filter="[[$:/_snapshots]indexes[]]" variable="currentIndex">
<option value=<<currentIndex>>><<currentIndex>></option>
</$list>
</$select></span>
<$set name="snap" value={{$:/_snapshots!!story-name}}>
<<showSnapshot>>
</$set>
;Save Snapshot
<span title="Enter a Name"><$edit-text tiddler="$:/_snapshots" field="story-name"/></span>
<$set name="snapshot" value={{$:/_snapshots!!story-name}}>
<<saveSnapshot >>
</$set>
paragraphs: Paragraph1 Paragraph2 Paragraph3 ...
paragraphs: Paragraph1 [[Draft of 'Paragraph2']] Paragraph3 ...
The only downside to direct manipulation of $:/StoryList!!list (that I have noticed) is that the history list doesn't get to be updated.
I'm probably reading too fast, but how is this different from what is achieved with the Text-Slicer edition?
FWIW, I think one hard problem that should be solved in this context
is that I possibly not only want a flat list but rather a tree / outline
whereas some tiddlers would be sub-chapters to others.
The only way to model that right now appears to be tagging
or some list field designated for the same purpose
so as to establish a "virtual" outline.Best wishes,Tobias.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2e0fa306-7c46-4fd4-85f0-de1f78e90c06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<$set name="parent" filter="[all[tiddlers]has[paragraphs]search:paragraphs<currentTiddler>]">
It turns out the text-slicer is much too complex for me. It probably covers what Article Tiddlers aims at and I'd be more than happy if it were redesigned so it provided a good UI for this, but as it stands it was clearly created from a different starting point
3) @MatabeleSome experiments with replace[] look promising. Thanks for that tip.<:-)
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3bf339dd-ce1c-40a8-a1db-4c45f9b05bba%40googlegroups.com.