On Tue, 28 Apr 2015 09:30:21 -0700 (PDT)
"Edward K. Ream" <[email protected]> wrote:

> On Tuesday, April 28, 2015 at 11:22:00 AM UTC-5, Edward K. Ream wrote:
> >
> > This rev makes minimal changes to the existing (very complex) code.
> >
> 
> Drat.  There are some serious problems with restoring the insert
> point. I'll attempt a fix immediately, but I don't recommend pulling
> the latest revs just yet.

In the unrelated code I just pushed I noticed this works:

         w.setAllText(txt)
         c.p.b = txt
         w.setInsertPoint(i+1)  # must come after c.p.b assignment

whereas this doesn't

         w.setAllText(txt)
         w.setInsertPoint(i+1)
         c.p.b = txt

Cheers -Terry

-- 
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.

Reply via email to