On Sunday, September 1, 2019 at 5:30:38 AM UTC-5, @TiddlyTweeter wrote:
>
>
>
> 1 - How do I SEE all lines containing "Willowy"?
>

In bk-tw I use Mark S's various split* filters for that, typically +/- 50 
or 100 chars so I get some surrounding context. (Not sure your generation 
of bk-tw has that).


The macro/filter (edited for brevity and evolved a little since Mark wrote 
it) goes like this:

\define toc-get-text-context(find)
<$set name=f value=
'[title<foundTiddler>get[text]regexps[(?g)(\w|\s|\,|\.|\-|“|”|\`|\?|\x22|\x27|\/\/){1,50}$find$(\w|\s|\,|\.|\-|“|”|\`|\?|\x22|\x27|\/\/){1,100}]first[5]]'
>

<h2 class="bg-text">Sections</h2>

<$list filter='[all[tiddlers]tag[toc]!tag[bk-doc]nsort[chapter]]' 
variable=foundTiddler>
<$list filter=<<f>> variable=text>
<p style="color:#666;margin-left:20px">...<<text>>... 
(<<toc-get-text-context-sv-link>>) [<$link 
to=<<foundTiddler>>><<foundTiddler>></$link>]</p>
</$list>
</$list>
...



-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/43430a25-17ae-4831-8356-65e3c9d34e8c%40googlegroups.com.

Reply via email to