Re: API change?
hehe I will. Thanks for the confirmation. On Thu, Sep 4, 2014 at 8:17 PM, Edward K. Ream wrote: > On Thu, Sep 4, 2014 at 12:54 PM, Fidel N wrote: > > are there more such things to be changed on the scripts? > > I was using c.frame.body a lot. > > body -> body.wrapper is the main one. > > logCtrl remains, so no change re the log. > > Off hand, I can't think of any others. Certainly no changes to tree > methods. > > Let me know if you find any ;-) > > 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. > -- 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.
Re: API change?
On Thu, Sep 4, 2014 at 12:54 PM, Fidel N wrote: > are there more such things to be changed on the scripts? > I was using c.frame.body a lot. body -> body.wrapper is the main one. logCtrl remains, so no change re the log. Off hand, I can't think of any others. Certainly no changes to tree methods. Let me know if you find any ;-) 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.
Re: API change?
are there more such things to be changed on the scripts? I was using c.frame.body a lot. On Thu, Sep 4, 2014 at 7:37 PM, Edward K. Ream wrote: > On Thu, Sep 4, 2014 at 11:11 AM, Kent Tenney 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. > -- 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.
Re: API change?
On Thu, Sep 4, 2014 at 11:11 AM, Kent Tenney 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.