Re: [Pharo-users] Coding by sending messages

2014-06-13 Thread Marcus Denker

On 13 Jun 2014, at 06:53, Tudor Girba  wrote:
> 
> On Wed, Jun 11, 2014 at 11:31 AM, Matthew Chadwick  wrote:
> hello,
> 
> It's interesting that in Smalltalk, coding is still done via a text editor, 
> not by sending messages to objects (except in the background, parsing & 
> compiling etc). I've been playing with coding by messaging nodes in the AST 
> with a view to coding this way via Roassal graph visualizations of object 
> dependencies combined with some nice graphical tools. Has any work on this 
> way of coding been done before ? What I have in mind is a keyboard-centric, 
> fast system designed as an alternative to the text editor, with a focus on 
> top-down style coding.
> 

The direction to not use text but objects for code is very interesting… a lot 
of nice experiments could be done on top of this. 

One direction is to use more structured ways of editing… but one needs to take 
care that in the past (end of the 80ties) all the tries of structured editors
where not really successful. But having an AST like representation instead of 
text would not preclude to have an editor interface that provided both the
flexibility of a text editor with the knowledge and power of a real object 
representation of code below… very interesting direction.

Marcus

[Pharo-users] Pharo3.0 + Swap Ctrl and Alt keys

2014-06-13 Thread Thushar G R
Hi all,

In Pharo 2.0 i find that "Ctrl+d" would do the doIt in workspace. In
Pharo3.0 for doIt, i need to do "Alt+d".

1) Is this change intentional?
2) if so am i advised to practice all the shortcuts using Alt keys instead
of Ctrl key for pahro 3?
3) Any way to bring back the Ctrl/Alt swap settings (I have asked this
before in stackoverflow)
4) Any one knows a hack or workaround for this?

Actually i was trying to figure out point 4) but no luck till now. I
changed it in keymappings builders in AbstractNautilusUI and similar places
but it simply dont work.

Any help is appreciated and TIA.

G R Thushar


Re: [Pharo-users] Pharo3.0 + Swap Ctrl and Alt keys

2014-06-13 Thread p...@highoctane.be
On Fri, Jun 13, 2014 at 1:30 PM, Thushar G R  wrote:

> Hi all,
>
> In Pharo 2.0 i find that "Ctrl+d" would do the doIt in workspace. In
> Pharo3.0 for doIt, i need to do "Alt+d".
>
> 1) Is this change intentional?
> 2) if so am i advised to practice all the shortcuts using Alt keys instead
> of Ctrl key for pahro 3?
> 3) Any way to bring back the Ctrl/Alt swap settings (I have asked this
> before in stackoverflow)
> 4) Any one knows a hack or workaround for this?
>
> Actually i was trying to figure out point 4) but no luck till now. I
> changed it in keymappings builders in AbstractNautilusUI and similar places
> but it simply dont work.
>
> Any help is appreciated and TIA.
>
> G R Thushar
>

I can't help you on that specific. I'll just add some more questions:

Why on Linux can't I use the Cmd/Alt/Whatever  + click on a method name and
get to the implementors list like I can on Mac and Windows? (Mac:
Cmd-Click, Win: Right-Alt-Click)

Is this a VM thing?

Phil


Re: [Pharo-users] Typo in RenoirSt configuration

2014-06-13 Thread gcotelli
Merged in the project. Thanks Stephan!



--
View this message in context: 
http://forum.world.st/Typo-in-RenoirSt-configuration-tp4762436p4762983.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Pharo3.0 + Swap Ctrl and Alt keys

2014-06-13 Thread Thushar G R
Can anyone confirm this

1) Open fresh Pharo3 image in Windows.
2) Go to *TextEditor>> buildTextEditorShortcutsOn:*
3) Change the last line from

  *(aBuilder shortcut: #cursorEnd)*
* category: #TextEditor*
* default: Character end ctrl win | Character end ctrl unix | Character end
command mac*
* do: [ :target :morph :event | target cursorEnd: event ]*

To

   *(aBuilder shortcut: #cursorEnd)*
* category: #TextEditor*
* default: Character end ctrl win | Character end ctrl unix | Character end
command mac*
* do: [ :target :morph :event |*
*  self halt.*
*  target cursorEnd: event ]*

4) Take a workspace and do "*Ctrl + d*" on "*1 inspect.*"

What happens for me is that it goes into the halt that we placed in step
3). And what i dont understand is why do it match the Keystroke
"*Ctrl+d*" with "*Ctrl + END*". If you go back the stack you will find
that's exactly whats happening. Let me know if i made some mistakes here..


Thanks for helping,

G R Thushar

*G R Thushar*
*Team Leader(Technology),*
*Signos Software Solutions Pvt. Ltd.*
*Ground Floor **A.R Plaza, TC 11/43 (2),*
*P.M.G Junction,*
*Thiruvananthapuram, 695004. Kerala, India.*

*Web: www.signossolutions.com *
Email: thushar...@signossolutions.com, thushar...@gmail.com
Phone: +91984652





On Fri, Jun 13, 2014 at 5:36 PM, p...@highoctane.be 
wrote:

> On Fri, Jun 13, 2014 at 1:30 PM, Thushar G R  wrote:
>
>> Hi all,
>>
>> In Pharo 2.0 i find that "Ctrl+d" would do the doIt in workspace. In
>> Pharo3.0 for doIt, i need to do "Alt+d".
>>
>> 1) Is this change intentional?
>> 2) if so am i advised to practice all the shortcuts using Alt keys
>> instead of Ctrl key for pahro 3?
>> 3) Any way to bring back the Ctrl/Alt swap settings (I have asked this
>> before in stackoverflow)
>> 4) Any one knows a hack or workaround for this?
>>
>> Actually i was trying to figure out point 4) but no luck till now. I
>> changed it in keymappings builders in AbstractNautilusUI and similar places
>> but it simply dont work.
>>
>> Any help is appreciated and TIA.
>>
>> G R Thushar
>>
>
> I can't help you on that specific. I'll just add some more questions:
>
> Why on Linux can't I use the Cmd/Alt/Whatever  + click on a method name
> and get to the implementors list like I can on Mac and Windows? (Mac:
> Cmd-Click, Win: Right-Alt-Click)
>
> Is this a VM thing?
>
> Phil
>
>


Re: [Pharo-users] Custom layout in Spec

2014-06-13 Thread webwarrior
I implemented SpecTableLayout, which uses TableLayout policy. 
Wasn't that hard, beacuse actual layouting *is* done in Morphic.

Interface of SpecTableLayout is somewhat similar to SpecLayout.
All table layout options are supported (see
http://wiki.squeak.org/squeak/2340).
One thing that is not part of TableLayout and was added by me is spacer -
invisible element that is either fixed size or flexible (aka spring).

Most Spec widgets were designed to occupy all available space, and in order
to change that they may be wrapped into single-element table layout. This is
done using #add:wrapped: or #add:withSpec:wrapped with last argument being
block (a similar to #newRow: and #newColumn:).
For example: 


Now I wonder how do I transfer these changes from Monticello to GitHub in
order to make pull request?



--
View this message in context: 
http://forum.world.st/Custom-layout-in-Spec-tp4762142p4762995.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Roassal forms+edges

2014-06-13 Thread rosariosm
Now the second image (view with edges) shows little triangles with the form i
added. When i move this triangles, i can see parts of the picture. What are
this triangles and how could i resize them?

 

Cheers,
Rosario



--
View this message in context: 
http://forum.world.st/Roassal-forms-edges-tp4762851p4762999.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[Pharo-users] Omnibase

2014-06-13 Thread Glenn Swanlund
On Windows 7, I'm trying to install OmniBase in Pharo-30846. I get an error
for  ExternalWindowsOSProcess >> doesNotUnderstand defaultShellPath.

Does anyone have a solution for this?

Regards,
Glenn