Thank you very much, Edward. I have the code working now. It is finding all my nodes, so I'll see if I can figure out what further changes will limit the result set to just those with open and todo tags.
-Richard On Friday, February 26, 2016 at 6:47:29 AM UTC-8, Edward K. Ream wrote: > > On Friday, February 26, 2016 at 6:42:34 AM UTC-6, Edward K. Ream wrote: > > > On Thu, Feb 25, 2016 at 6:42 PM, Richard Andersen <mont...@gmail.com > <javascript:>> wrote: > > >> I'd like...to use the Clone Find All Flattened command to find all my > Nodes which are "open tasks"...Ideally, these would be shown in context > with the parent tags down to the "found" tags > > > An interesting problem. It just needs a different predicate. Here is > tested code: > [snip] > >I'm not sure this is all that useful, but it's what you *said* you > wanted... > > On second thought, I think the solution is fine, *provided* that there is > a *visual* indication of which nodes actually have 'open' and 'todo' > tags. This is easy to do: the nodetags plugin simply needs to attach > distinct icons for each tag. That way all you have to do is to expand all > the nodes provided by the cloneFindByPredicate. Easy, straightforward. > > In short, we urgently need ways to attach icons to tags (or any other > attribute). Once we have that, the user can find the desired nodes either > by looking through the outline or by looking at the nodes provided by > cloneFindByPredicate. > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.