Help with windows keys binding

Bob Arning arning at charm.net
Mon Mar 19 16:34:30 UTC 2001


On Mon, 19 Mar 2001 10:19:47 -0600 (CST) Jim Menard <jimm at io.com> wrote:
>On a related note, I have tried a few times to add Emacs key bindings to
>the standard text editor widget. No luck. I don't remember my exact
>problems, but I seem to recall that a lot of the key binding behavior is
>hard-coded. I remember finding the code that builds the edit menu.
>
>Could someone point me in the right direction?

Jim,

The methods you probably want to look at to change key bindings are

ParagraphEditor class>>initializeCmdKeyShortcuts
ParagraphEditor class>>initializeShiftCmdKeyShortcuts

After you change one of these, do

ParagraphEditor initialize

so the changes are recognized.

Cheers,
Bob





More information about the Squeak-dev mailing list