On Wed, Mar 11, 2009 at 1:22 PM, Kent Tenney <[email protected]> wrote:
>> 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?
Yes.
> Would c.find_h("@auto")
> return a list of all nodes with @auto in the headline?
No, c.find_h('@auto.*') would (because it's a regexp).
> Is there a c.find_b() ?
No. Nothing prevents us from doing one though :-). We should probably
have select_h and select_b for symmetry.
>> I can add it to trunk if it's ok for Edward / others.
>
> +1, looks really powerful and easy to use.
Edward?
--
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
-~----------~----~----~----~------~----~------~--~---