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 serhiy.storchaka
Recipients Guilherme.Simões, Mark.Young, Todd.Rovito, gpolo, ned.deily, r.david.murray, roger.serwy, serhiy.storchaka, terry.reedy, weeble
Date 2016-06-03.20:09:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464984583.67.0.534368501495.issue5124@psf.upfronthosting.co.za>
In-reply-to
Content
In modern text editors selecting text with a mouse moves text cursor, and moving the cursor by arrow keys cancels the selection (if Shift is not pressed). But in terminal emulators selecting text with a mouse doesn't move text cursor, and moving the cursor doesn't cancel the selection. This might be an initial reason for Tk behavior.

Since IDLE editor window is rather a text editor than a terminal emulator, I think 'replace' is more preferable. But I'm not so sure about IDLE shell window.

EditorWindow.text is not the only Text widget. There are many other Text and Entry widgets are created. We should change the behavior of all Text and Entry widgets globally. I'll try to write a patch.
History
Date User Action Args
2016-06-03 20:09:43serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, gpolo, ned.deily, roger.serwy, weeble, r.david.murray, Todd.Rovito, Mark.Young, Guilherme.Simões
2016-06-03 20:09:43serhiy.storchakasetmessageid: <1464984583.67.0.534368501495.issue5124@psf.upfronthosting.co.za>
2016-06-03 20:09:43serhiy.storchakalinkissue5124 messages
2016-06-03 20:09:43serhiy.storchakacreate