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') I can add it to trunk if it's ok for Edward / others. 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 -~----------~----~----~----~------~----~------~--~---
