[Pharo-project] Issue 3266 in pharo: Clean TextEditor

Stéphane Ducasse stephane.ducasse at inria.fr
Fri Nov 19 09:24:29 CET 2010

Yes! we were discussing with alain about that.
Please sync with alain.
Fernando here is also what I would like to have :)

A classVar Binding and an instance var binding.
**All** the methods only access binding
binding get initialized with the default table defined in Binding
=> we can have table binding sharing 
=> we can have instance based customization.

Does it make sense to you?


On Nov 19, 2010, at 8:21 AM, Fernando Olivero wrote:

> Hi Alain, i took a better look at the changes and have to say...once
> again..excellent!
> I think the next step is to improve the keybindings hardcoding in
> TextEditor>>initialize
>       self initializeCmdKeyShortcuts.
> 	self initializeShiftCmdKeyShortcuts.
> I have a keybindings/command model in Gaucho, for applying a
> keybinding to any morph.
> I will work on decoupling it from GauchoMorph into Morph.
> And later rewrite the Morphs for textediting to use this.
> So for example, if you want to delete any GauchoMorph from the system
> by pressing cmd-w, you have to:
> binding := GMKeyBinding
> 		actingOn: $w asciiValue
> 		modifiedBy: #(#command)
> 		satisfying: ( GMCondition compositeWith: #(
> #understandsKeyBindingCommandCondition #uneditedCondition ) )
> 		applying: #close.
> m := NewTextMorph new.
> m addKeyBinding: binding .
> If people agree, i will create an issue and start working on it.
> Fernando
> On Thu, Nov 18, 2010 at 9:23 AM, Alain Plantec <alain.plantec at free.fr> wrote:
>> Due to a change in PragmaMenuBuilder, the world menu is not well updated
>> anymore.
>> Simply evaluating
>> World resetWorldMenu
>> fixes that.
>> So it should be done before the next release is published.
>> Cheers
>> Alain

More information about the Pharo-project mailing list