There is a new iconPath keyword arg, a full path to an icon. All matches
insert the icon in the headline if it does not already exist there.
The signature is now:
def cloneFindByPredicate(self,
generator, # The generator used to traverse the tree.
predicate, # A function of one argument p, returning True
# if p should be included in the results.
failMsg=None, # Failure message. Default is no message.
flatten=False, # True: Put all matches at the top level.
iconPath=None, # Full path to icon to attach to all matches.
redraw=True, # True: redraw the outline,
undoType=None, # The undo name, shown in the Edit:Undo menu.
# The default is 'clone-find-predicate'
)
EKR
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.