Wanted - dynamic keybindings for Squeak (was: be a web url -textMorph
danielv at netvision.net.il
Wed Jul 9 16:32:28 UTC 2003
We really should be able to configure specific keybindings for
applications easily, and the user really should be able to customize
them. In short, they should not be hard coded.
Anybody up to solving this? one thing worth looking at is Roel's
MagicKeys for VW, I don't know how hard it would be to port to Squeak,
but it should be a good source for design ideas on some of the issues.
Roel, maybe you can add details?
Ned Konz <ned at bike-nomad.com> wrote:
> On Wednesday 09 July 2003 05:30 am, Ingo Hohmann wrote:
> > with alt-6 in a textMorph I get a 'be a web url' menu entry. How do
> > I find out which method is invoked on selecting this entry? (when I
> > explore it, I come to
> > target: aMVCMenuMorph selector: #selectMVCItem: arguments: #(16) )
> > I would like to add a 'be a DoIt' item.
> > Where are those menus defined? I'd like to rearrange the mouseclick
> > menu, too.
> Easiest way to debug/explore most modal menus is to hit Alt-.
> (interrupt) and examine the call stack, since the modal menus do
> their own polling loop.
> So looking up the stack we get to ParagraphEditor>>changeEmphasis:
> and just above it you enter the secret land of CmdActions and
> ShiftCmdActions, which is (partly) how ParagraphEditor decides to
> dispatch command keystrokes.
> And I believe that I and others in the past have come up with change
> sets to make it easier to customize these menus and keystrokes, but I
> can't remember where I put them (my Squeak directories are
> unimaginably cluttered after 6 years of Squeaking...)
> Ned Konz
> GPG key ID: BEEA7EFE
More information about the Squeak-dev