[Pharo-project] Question on 2.0 : shortcuts for menu items

Benjamin benjamin.vanryseghem.pharo at gmail.com
Fri Jul 13 08:42:12 EDT 2012


(aBuilder shortcut: #Foo)
		category: #NautilusSourceCodeShortcuts
		default: $r command
		do: [:target | self formatTextFor: target sourceTextArea ]
		description: 'Format the text of a text morph'.

Defined on class side of the class you want :)

Ben


On Jul 13, 2012, at 2:30 PM, Goubier Thierry wrote:

> Hi,
> 
> I'm trying to add a Cmd+r command to format code in Nautilus and I'm unable to find how. Would anybody know ? I tried to modify the menus and the CmdKeyTables in SmalltalkEditor to no effect.
> 
> Thanks,
> 
> Thierry
> -- 
> Thierry Goubier
> CEA list
> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
> 91191 Gif sur Yvette Cedex
> France
> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
> 
> 





More information about the Pharo-dev mailing list