On Thu, 20 May 2010 07:24:22 -0500 "Edward K. Ream" <[email protected]> wrote:
> > This would be faster than each plugin which needs to do such an iteration > > doing it itself... should that every become an issue. > > > > But I guess iteration isn't that expensive, so this might be a solution > > without a need, for now. > > Imo, event handlers like after-create-leo-frame suffice. Right, I was thinking for a while (turns out not) that I might want to search the whole tree for @rclick nodes. And it occurred to me that you could easily have 3-4 or more plugins which are going to iterate over the whole tree at after-create-leo-frame looking for a few occurrences of @some-target-directive, which seems inefficient, but would need to cause an actual problem before it was worth fixing. Cheers -Terry -- 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.
