This adds an index:
<$vars count={{{ myfilter +[count[]] }}}>
<$list filter="[range<count>]" variable=n>
<$list filter="myfilter +[nth<n>]">
<<n>> <<currentTiddler>><br>
</$list>
</$list>
</$vars>
Do you suggest I put this into each popup-content-tool that shows a
list? (BTW, calling them popup-content-tools sucks. We need a real name.)
Off topic: I requested an array feature in the listwidget not long ago but
@Jeremy explained the listwidget is already very complex. Maybe there could
be an arraywidget that takes a filter and binds each item to a position.
The array could be treated like a "composit variable" (yes, I just made up
that term) so to call it and access a specific item one would write
<<arrayname:index>> or <<arrayname|index>> or even <<arrayname##index>>.
I'm thinking the latter would not clash with dic tids since the latter are
invoked via transclusions. A filter operator could be
array<arrayname##index>.
Back on topic:
Just a note - I think it is your $:/core/ui/EditTemplate/body/editor that's
missing the $:/EditorMagic tag. I'm only mentioning this to save you from
possible confusion later if you e.g tag-drag'n-drop.
<:-)
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywikidev/c2db033e-07fa-44d8-9cb2-3c11fcee147co%40googlegroups.com.