On Thu, Sep 4, 2014 at 11:11 AM, Kent Tenney <kten...@gmail.com> wrote:
> A button of mine checks for selected body text, what is the current
> equivalent of:
> c.frame.body.hasSelection()
> which causes a traceback, presumably the following has also changed:
> c.frame.body.getSelectedText()

Change c.frame.body to c.frame.body.wrapper everywhere.

Although more verbose, it makes more sense: c.frame.body is not, and
never has been, a text widget/wrapper/whatever.  It's more of a
controller.

Sorry to break code, but I think had to be done.

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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to