c.frame.body.wrapper.setInsertPoint(0) does it many thanks kind sir
On Fri, Oct 30, 2015 at 2:08 PM, 'Terry Brown' via leo-editor <[email protected]> wrote: > On Fri, 30 Oct 2015 13:51:03 -0500 > Kent Tenney <[email protected]> wrote: > >> My script pastes into the node body: >> p.b = some_text >> >> at which point, the body displays the end of 'some_text', >> I want to be looking at the beginning of the text > > c.frame.body.wrapper.setInsertPoint(0) > c.frame.body.wrapper.seeInsertPoint() > > maybe? > > Cheers -Terry > >> I've tried >> c.frame.body.widget.moveCursor(0,0) >> and >> c.frame.body.widget.setFocus(0) >> >> without success >> >> Suggestions? >> >> Thanks, >> Kent >> > > -- > 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. > 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
