This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Dave Liptack, terry.reedy
Date 2020-03-05.22:18:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is much clearer.  To expand on what I said before, inserting *anything*, such as by hitting a key, replaces a selection.  I verified that this is normal behavior, at least on Windows, with Notepad, Notepad++, and this Firefox entry box I am typing in.  So either of your steps 6 or 7 delete the still selected line, after the goto.  (And so a click is needed before 6 to stop the deletion.)  I see the continued selection as the problem.  Both Notepad and Notepad++ unselect any selection upon goto, the same as if one moved the cursor by clicking instead of goto.

I will try adding text.selection_clear() to the goto code.
Date User Action Args
2020-03-05 22:18:12terry.reedysetrecipients: + terry.reedy, Dave Liptack
2020-03-05 22:18:12terry.reedysetmessageid: <>
2020-03-05 22:18:12terry.reedylinkissue39852 messages
2020-03-05 22:18:12terry.reedycreate