[issue39852] IDLE: Goto should remove any selection

2020-03-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +18157 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18801 ___ Python tracker

[issue39852] IDLE: Goto should remove any selection

2020-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: selection_clear only partially clears a selection. That it does something is proven by selection_clear.py. It disables selection_get. But run the file in IDLE and when it finishes, click the tk window, select a line, click Shell, and manually repeat the

[issue39852] IDLE: Goto should remove any selection

2020-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: 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.