1 / 9

MagicKeys

Explore the power of the Smalltalk environment with MagicKeys! Browse classes and methods, find senders/implementors, and manipulate keybindings easily.

emmanueld
Télécharger la présentation

MagicKeys

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MagicKeys Roel Wuyts Essen, August 28th 2001

  2. Smalltalking = Browsing • The power of a Smalltalker is the power of its environment: • Browsing classes and class hierarchies • Browsing methods • Finding senders/implementors • … ==> Environment is extremely important!

  3. MagicKeys • How to bring the power of the Smalltalk environment at your fingertips ? ==> MagicKeys ! • Showing the list of keybindings • Manipulating keybindings • Loading/saving of keybindings • Seeing all possible keybindings commands

  4. Demo

  5. Implementation

  6. Dispatchtable <-> KeyBindings • dispatchTable: baseTable: $a -> #(nil #action1 nil nil nil nil nil nil #action2 …) composeTable:ESC -> #( $( #action $)#action2 • KeyBindings = char -> event

  7. Hairy things • UIFeelPolicy/ParagraphEditor way of handling alt and meta keystrokes • Ctrl-?? characters: constants in the TextConstants Dictionary • UISettings integration

  8. Limitations/Problems • Unloading: does not always works at this moment. Manually set FeelPolicy to something after unload • Only Ctrl-?? can be interrupt key • On Mac: alt- and meta modifiers swapped ?! Roland ? :-)

  9. Get it Where ? • My web-page: http://www.iam.unibe.ch/~wuyts/ • Cincom Public Store (for VW5i) • Versions for: • VisualWorks Envy/4 • VisualWorks 3 • VisualWorks 5i

More Related