Right now, if caps lock is pressed, the behavior is the same as when shift is pressed. So, if we add a binding for Ctrl-a, we also need to add one for Ctrl-A. Otherwise, Ctrl-a won't work when Caps Lock is pressed, since that is recorded as Ctrl-A.
This means that we can't use shift as a modifier. So, it might be a good idea to remove that limitation, and do the same thing regardless of if Caps Lock is pressed or not.
I'm not sure how something like this can be done. If Tk's bind function provides a way to do this, it would be great, but we might have to end up rolling our own hack on top of bind.
Right now, if caps lock is pressed, the behavior is the same as when shift is pressed. So, if we add a binding for
Ctrl-a
, we also need to add one forCtrl-A
. Otherwise,Ctrl-a
won't work when Caps Lock is pressed, since that is recorded asCtrl-A
.This means that we can't use shift as a modifier. So, it might be a good idea to remove that limitation, and do the same thing regardless of if Caps Lock is pressed or not.
I'm not sure how something like this can be done. If Tk's
bind
function provides a way to do this, it would be great, but we might have to end up rolling our own hack on top ofbind
.