Be careful that Cmd r is used for rename in Nautilus also... Maybe for
reformat code something like cmd shift f can be used ($f cmd shift).
On Fri, Jul 13, 2012 at 5:24 PM, Goubier Thierry wrote:
> Ok, done. If anybody is missing the format (Ctrl+r) command in Nautilus,
> here it is done.
>
> No
Ok, done. If anybody is missing the format (Ctrl+r) command in Nautilus,
here it is done.
Now you can write code to the kilometer, and press Ctrl+r, Ctrl+s. Et
voilà, nicely formatted smalltalk code.
Issue 6363: Format command (linked to Ctrl+r)
Slice uploaded to Pharo Inbox.
Thierry
Le 13
Le 13/07/2012 15:57, Goubier Thierry a écrit :
Le 13/07/2012 15:45, Benjamin a écrit :
in a workspace evaluate
KMLog setDebug
Open a Transcript, and it will tell what ctrl+r is used for :)
It only tells you [Ctrl+r] :-(
Just noticed that my changes to NautilusUI were not taken in account
any
Le 13/07/2012 15:45, Benjamin a écrit :
in a workspace evaluate
KMLog setDebug
Open a Transcript, and it will tell what ctrl+r is used for :)
It only tells you [Ctrl+r] :-(
Just noticed that my changes to NautilusUI were not taken in account anyway.
Thierry
Ben
On Jul 13, 2012, at 3:44 PM
in a workspace evaluate
KMLog setDebug
Open a Transcript, and it will tell what ctrl+r is used for :)
Ben
On Jul 13, 2012, at 3:44 PM, Goubier Thierry wrote:
> Le 13/07/2012 15:36, Benjamin a écrit :
>> command r is already used (to rename stuff)
>
> But it triggers on Alt+r, not Ctrl+r.
>
>
On 2012-07-13, at 15:43, Goubier Thierry wrote:
> Le 13/07/2012 15:36, Benjamin a écrit :
>> command r is already used (to rename stuff)
>
> But it triggers on Alt+r, not Ctrl+r.
>
> Ctrl+r is caught, but I don't know by what.
Check SmalltalkEditor / TextEditor...
They encode some special sho
Le 13/07/2012 15:36, Benjamin a écrit :
command r is already used (to rename stuff)
But it triggers on Alt+r, not Ctrl+r.
Ctrl+r is caught, but I don't know by what.
I'll try to change the key (or the rename key).
Trying to follow the KM areas, but lost in a maze of small classes, all
ident
command r is already used (to rename stuff)
try a key not used like h
Ben
On Jul 13, 2012, at 3:32 PM, Goubier Thierry wrote:
> Le 13/07/2012 14:42, Benjamin a écrit :
>> (aBuilder shortcut: #Foo)
>> category: #NautilusSourceCodeShortcuts
>> default: $r command
>>
Le 13/07/2012 14:42, Benjamin a écrit :
(aBuilder shortcut: #Foo)
category: #NautilusSourceCodeShortcuts
default: $r command
do: [:target | self formatTextFor: target sourceTextArea ]
description: 'Format the text of a text morph'.
(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 wan
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 E
11 matches
Mail list logo