On Aug 3, 8:46 am, "Edward K. Ream" <[email protected]> wrote:
> Another option would be to have the caller specify the 'after' node.
> This is more general, but more error prone.
I think simplicity and generality trump safety, at least for now. The
method will have a nodeAfterIter arg, so we can do this:
for p in theIter():
first = p.copy()
break
after = nodeAfterIter and nodeAfterIter.copy()
Note that nodeAfterIter should be None when theIter is
c.all_positions.
Edward
--
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.