[ANN] [Chrismas gift(?)] New version of Keymapping

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] [Chrismas gift(?)] New version of Keymapping

Guillermo Polito
Last version of keymapping supports:

- Keymap definition by pragmas
- Shortcut dsl that looks like

KMMeta + $r, $b   (which means Alt + r, b)
KMCmd + $r, KMCmd + $d   (which means Cmd + r, Cmd + d)

+ is to combine modifiers to characters
, is to define sequence of shortcuts
KMMeta is meta (Alt I suppose)
KMCmd is Cmd (Ctrl I guess)
KMShift is Shift

- The morphs inherits their superclasses shortcuts.
- ALOT of cleansing, renaming, refactoring

To come:
- more documentation :P
- more refactoring and cleansing :P.
- Application specific shortcuts (To attach shortcuts to morph's models)

To download:

Gofer it
    squeaksource: 'Keymapping';
    package:'ConfigurationOfKeymapping';
    load.
   
(((Smalltalk at: #ConfigurationOfKeymapping) perform: #project) perform: #version: with: '1.2') load: #( 'default' 'tests' 'configurations' )


To look the example look at KeymapDefaultConfiguration class>>declareDefaultKeymapsOn:

Cheers,
Guille :D
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] [Chrismas gift(?)] New version of Keymapping

Guillermo Polito
Of course, It works In Pharo 1.2 core.  I didn't test it in other versions.

On Fri, Dec 24, 2010 at 11:23 PM, Guillermo Polito <[hidden email]> wrote:
Last version of keymapping supports:

- Keymap definition by pragmas
- Shortcut dsl that looks like

KMMeta + $r, $b   (which means Alt + r, b)
KMCmd + $r, KMCmd + $d   (which means Cmd + r, Cmd + d)

+ is to combine modifiers to characters
, is to define sequence of shortcuts
KMMeta is meta (Alt I suppose)
KMCmd is Cmd (Ctrl I guess)
KMShift is Shift

- The morphs inherits their superclasses shortcuts.
- ALOT of cleansing, renaming, refactoring

To come:
- more documentation :P
- more refactoring and cleansing :P.
- Application specific shortcuts (To attach shortcuts to morph's models)

To download:

Gofer it
    squeaksource: 'Keymapping';
    package:'ConfigurationOfKeymapping';
    load.
   
(((Smalltalk at: #ConfigurationOfKeymapping) perform: #project) perform: #version: with: '1.2') load: #( 'default' 'tests' 'configurations' )


To look the example look at KeymapDefaultConfiguration class>>declareDefaultKeymapsOn:

Cheers,
Guille :D

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] [Chrismas gift(?)] New version of Keymapping

Stéphane Ducasse
I have to test that :)
I'm working on an important project proposal so less pharoing.


On Dec 25, 2010, at 3:27 AM, Guillermo Polito wrote:

> Of course, It works In Pharo 1.2 core.  I didn't test it in other versions.
>
> On Fri, Dec 24, 2010 at 11:23 PM, Guillermo Polito <[hidden email]> wrote:
> Last version of keymapping supports:
>
> - Keymap definition by pragmas
> - Shortcut dsl that looks like
>
> KMMeta + $r, $b   (which means Alt + r, b)
> KMCmd + $r, KMCmd + $d   (which means Cmd + r, Cmd + d)
>
> + is to combine modifiers to characters
> , is to define sequence of shortcuts
> KMMeta is meta (Alt I suppose)
> KMCmd is Cmd (Ctrl I guess)
> KMShift is Shift
>
> - The morphs inherits their superclasses shortcuts.
> - ALOT of cleansing, renaming, refactoring
>
> To come:
> - more documentation :P
> - more refactoring and cleansing :P.
> - Application specific shortcuts (To attach shortcuts to morph's models)
>
> To download:
>
> Gofer it
>     squeaksource: 'Keymapping';
>     package:'ConfigurationOfKeymapping';
>     load.
>    
> (((Smalltalk at: #ConfigurationOfKeymapping) perform: #project) perform: #version: with: '1.2') load: #( 'default' 'tests' 'configurations' )
>
>
> To look the example look at KeymapDefaultConfiguration class>>declareDefaultKeymapsOn:
>
> Cheers,
> Guille :D
>