Help with windows keys binding

Ned Konz ned at bike-nomad.com
Mon Mar 19 17:07:47 UTC 2001


On Monday 19 March 2001 08:58, Jim Menard wrote:

>   cmdMap at: ($a asciiValue + 1) put: #cursorHome:.
>   cmdMap at: ($e asciiValue + 1) put: #cursorEnd:.
>
> to make ^A go to beginning of line and ^E to go to end of line. I then
> performed "ParagraphEditor initialize". I put this code just before the
> "CmdActions _ cmdMap" line at the end of initializeCmdKeyShortcuts. No
> luck: the keys do what they always did.
>
> What am I missing?

You're missing that the CmdActions are for the Alt-keys. So you changed alt-a 
from "select all" to "beginning of line".

This is because the mapping of the control and alt modifiers are confused 
under Windows and Linux.

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com





More information about the Squeak-dev mailing list