On Mon, 17 Oct 2011 07:48:28 -0500 Kent Tenney <[email protected]> wrote:
> for pos in this_c.all_positions(): > if pos.get_UNL() == unl: > this_c.setCurrentPosition(pos) > this_c.redraw() > break There's also g.recursiveUNLSearch, but I don't think it offers any particular advantage here, except it will find the longest match when no exact match exists. Was going to ask why you need to save positions through UNLs anyway, but just remembered that's the only way for @auto type nodes. 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.
