Question - Searching for Widget use?

75 views
Skip to first unread message

TW Tones

unread,
Jul 21, 2020, 10:15:15 PM7/21/20
to TiddlyWiki
Folks,

In a larger piece of work to extract usable coding information from tiddlywiki I can use this string in the advanced search filter
[all[]search:text[<$]]

However when used in a list it returns nothing?
<$list filter="[all[]search:text[<$]]">

</$list>

And this is not working either
\define widget-string() <$
<$list filter="[all[]search:text<widget-string>]">

</$list>

Regards
Tony

林东吴

unread,
Jul 22, 2020, 9:21:36 AM7/22/20
to tiddl...@googlegroups.com
Maybe filters in the list don't search system tiddlers?

TW Tones <anthony...@gmail.com> 于2020年7月22日周三 上午10:15写道:
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f2c4a903-ac95-4528-8a00-333bcb6782bdo%40googlegroups.com.

Mat

unread,
Jul 22, 2020, 10:00:52 AM7/22/20
to TiddlyWiki
On phone so cant test but that code should work. You probably just made some small error. See if triple quotes helps.

<:-)

TW Tones

unread,
Jul 22, 2020, 7:14:44 PM7/22/20
to TiddlyWiki
Mat,

Good call thanks. Wrapping the filter on tripple quotes seems to have solved it
<$list filter="""[all[]search:text[<$]]""">

</$list>
Come to think of it the parser may be trying to identify the widget that it delineates

Thanks
Mark

TW Tones

unread,
Jul 22, 2020, 7:15:07 PM7/22/20
to TiddlyWiki
I mean thanks MAT
Reply all
Reply to author
Forward
0 new messages