@button buttons now always show toolTips, using docstrings if they exist, otherwise a default toolTip.
I have not been able to get toolTips to work in the menus created by @rclick nodes. No toolTip is shown when action.setToolTip is called. That should be a minor issue. After some debate, I have chosen to have the text of the @rclick headline continue to determine the menu item's text. There seems to be no advantage in preferring a docstring. Leo gets the docstring using g.getDocString(), which does a simple-minded text scan of the body text. This is safer than importing the code, and simpler than parsing the code. Edward -- 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 http://groups.google.com/group/leo-editor?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
