Message363457
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:12 | terry.reedy | set | recipients:
+ terry.reedy, Dave Liptack |
2020-03-05 22:18:12 | terry.reedy | set | messageid: <1583446692.62.0.708271696728.issue39852@roundup.psfhosted.org> |
2020-03-05 22:18:12 | terry.reedy | link | issue39852 messages |
2020-03-05 22:18:12 | terry.reedy | create | |
|