[updates] 20 for 3.2alpha

Stephan Rudlof sr at evolgo.de
Thu Dec 6 23:59:16 UTC 2001


Dan Ingalls wrote:
> 
...
> 4585MenuFromKeyboard-di-sw -- Dan Ingalls and Scott Wallace -- 2 December 2001
> This changeSet introduces keyboard control of menus in morphic.
> First of all, there is now the ability to move the selection up and down using arrow keys in any menu, and to confirm with CR or cancel with ESC, and to pass control into a sub-menu with right- or left- arrow (and to return back with ESC).
> That's not all.  If you type in a menu, it builds a pattern string, which appears at the bottom of the menu.  Whenever the pattern is not empty, only items that match are presented.  If only one item matches the pattern (or in any menu with only one item), the option is given to confirm with CR or cancel with ESC.
> But wait, there's more...  In most contexts, hitting ESC now brings up the world menu, (and, of course, hitting ESC again will make it go away again).  This enables all sorts of TECO-like incantations such as
>         '<ESC>d q<CR>' which would, of course, invoke 'save and quit', or
>         '<ESC>he<CR>spa<CR>' to show the amount of free space.
> [A free bottle of Ripple will be awarded to the first Squeaker to successfully perform majorShrink on a computer with no pointing device].
> Finally, two cosmetic tweaks are also included:
>         1.  The selection in a menu is now shown slightly darker than before, and
>         2.  Menus indicate keyboard focus with a thin green border (useful with arrow control).


I like it: very nice!
And the selection is *much* better than just giving 1-letter shortcuts for a
few menu items...

Thanks,

Stephan
-- 
Stephan Rudlof (sr at evolgo.de)
   "Genius doesn't work on an assembly line basis.
    You can't simply say, 'Today I will be brilliant.'"
    -- Kirk, "The Ultimate Computer", stardate 4731.3




More information about the Squeak-dev mailing list