[Idle-dev] Why are keybindings case sensitive?

Patrick K. O'Brien pobrien@orbtech.com
Mon, 11 Jun 2001 17:32:38 -0500


Or rather, why aren't any of the keybindings (especially cut, copy and
paste) setup to work when one has caps lock on? I fixed this in my version
of keydefs.py but this seems like something that IDLE should do by default.
Here is the change I made, adding uppercase keybindings. It appears to work
fine.

windows_keydefs = \
{'<<Copy>>': ['<Control-c>', '<Control-C>'],
 '<<Cut>>': ['<Control-x>', '<Control-X>'],
 '<<Paste>>': ['<Control-v>', '<Control-V>'],

---
Patrick K. O'Brien
Orbtech
"I am, therefore I think."