Serhiy Storchaka added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5124>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to