[Idle-dev] Why are keybindings case sensitive?

Guido van Rossum guido@digicool.com
Mon, 11 Jun 2001 20:28:25 -0400


> 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>'],

An oversight.  Thanks for the fix!

--Guido van Rossum (home page: http://www.python.org/~guido/)