On Tue, Mar 10, 2009 at 3:48 PM, Ville M. Vainio <[email protected]> wrote:
>
> On Tue, Mar 10, 2009 at 6:33 PM, Kent Tenney <[email protected]> wrote:
>
>> I've been wondering how to do a global search for headline text,
>> I was pleased to see this mentioned.
>>
>> What would the preferred way to be to deal with multiple nodes
>> with the same headline text?
>>
>> Is there a method like g.findNodeAnywhere_iter() ?
>
> Perhaps this would be the time to move my 'select()' proposal forward:
>
> http://groups.google.com/group/leo-editor/browse_thread/thread/d8362a15c05697ff
>
> The code is already done, all it needs is adding c.find_h() to controller.
>
> So basically, you would find nodes by:
>
> c.find_h('Gui wrap.*').select(".*Qt").select('Font')

So, find_h() creates a list of nodes and the 'select' parts
specify requirements that refine the list?

Would c.find_h("@auto")
return a list of all nodes with @auto in the headline?

Is there a c.find_b() ?

>
> I can add it to trunk if it's ok for Edward / others.

+1, looks really powerful and easy to use.

>
> Let's avoid function names like findNodeAnywhere_iter... they are an
> absolute nightmare to remember.
>
> --
> Ville M. Vainio
> http://tinyurl.com/vainio
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to