Re: [Pharo-users] Spotter: How to see more beyond #/##

2015-02-05 Thread Ben Coman
I've been meaning to ask the same question.In light of your answer, Would you consider being able to place the cursor on the line "Classes 5/26" line, and using the standard CMD-Right rather than CMD-Shift-Right. To me that seems to follow the pattern of CMD-Right "opening up" an item. cheers

Re: [Pharo-users] Spotter: How to see more beyond #/##

2015-02-05 Thread Guillermo Polito
Maybe I'm not getting it but, Why not just using "Right"? El Thu Feb 05 2015 at 10:43:39 AM, Ben Coman escribió: > I've been meaning to ask the same question.In light of your answer, > Would you consider being able to place the cursor on the line "Classes > 5/26" line, and using the standard

Re: [Pharo-users] Spotter: How to see more beyond #/##

2015-02-05 Thread kilon alios
because right controls the search input box cursor. Maybe a shortcut to switch focus between input search box and the search results panel could cut down the complexity of the shortcuts considerably. On Thu, Feb 5, 2015 at 12:00 PM, Guillermo Polito wrote: > Maybe I'm not getting it but, Why not

Re: [Pharo-users] Question on Morphic drawOn: method.

2015-02-05 Thread nacho
@Trygve I've checked and it doesn't work. I can't even bring the halo on to delete the morph. The debugger keeps popping. Thanks anyway to all Nacho - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Question-on-Morphic-drawOn-me

Re: [Pharo-users] Question on Morphic drawOn: method.

2015-02-05 Thread kilon alios
upload your code to smalltalkhub or github and lets take a look at it. Sharing your image is also a viable option On Thu, Feb 5, 2015 at 12:56 PM, nacho <0800na...@gmail.com> wrote: > @Trygve > I've checked and it doesn't work. I can't even bring the halo on to delete > the morph. The debugger k

Re: [Pharo-users] Canvas Transform Goes Haywire if Scaled

2015-02-05 Thread Werner Kassens
On 02/05/2015 06:29 AM, Sean P. DeNigris wrote: I had both translation and scale working in a spike by translating with FormCanvas>>#translateBy:during: and then magifying with "canvas form magnifyBy: 0.5", but I want to do this in my morph's drawing method, so I want to do both with the canvas.

Re: [Pharo-users] Canvas Transform Goes Haywire if Scaled

2015-02-05 Thread Nicolai Hess
2015-02-05 6:29 GMT+01:00 Sean P. DeNigris : > The following works as I expect: > > morph := Morph new > topLeft: 200@400; > openInWorld. > > outputRect := morph fullBounds. > canvas := Display defaultCanvasClass extent: outputRect extent > d

Re: [Pharo-users] Canvas Transform Goes Haywire if Scaled

2015-02-05 Thread Werner Kassens
Hi Sean, the thing is clipped. as you can see here: morph := Morph new topLeft: 200@400; openInWorld. outputRect := (0@0) corner: (250.0@220.0). canvas := Display defaultCanvasClass extent: outputRect extent depth: Display depth. scale := 0.5.

Re: [Pharo-users] Spotter: How to see more beyond #/##

2015-02-05 Thread Sean P. DeNigris
kilon.alios wrote > because right controls the search input box cursor > > On Thu, Feb 5, 2015 at 12:00 PM, Guillermo Polito < > guillermopolito@ > > wrote: >> Maybe I'm not getting it but, Why not just using "Right"? Ha ha ha, I was thinking the same thing! But it seems obvious now. I think di

Re: [Pharo-users] Spotter: How to see more beyond #/##

2015-02-05 Thread Tudor Girba
Hi, Switching is costly, and we went to great lengths to not have any switching between the text and the list in spotter. This won't change :). But, there will likely be some way to switch to the preview, but this is still a work in progress. Cheers, Doru On Thu, Feb 5, 2015 at 11:22 AM, kilo

Re: [Pharo-users] Supply named temporaries to Compiler>>#evaluate:...

2015-02-05 Thread Marcus Denker
> On 04 Feb 2015, at 21:46, Nicolai Hess wrote: > > 2015-02-04 18:48 GMT+01:00 Sean P. DeNigris >: > I want to be able to evaluate a string like '2 + arg1' and supply anObject > for arg1 to the compiler. > > I naively tried: > | aContext | > aContext := thisContex

Re: [Pharo-users] Spotter: How to see more beyond #/##

2015-02-05 Thread Tudor Girba
Hi, Yes. As Alex said, we want all actions to have a visual representation. This is on our todo list. As for configurability, there is no grand plan at the moment. We could indeed expose shortcuts as settings. Cheers, Doru On Thu, Feb 5, 2015 at 1:32 PM, Sean P. DeNigris wrote: > kilon.alio

Re: [Pharo-users] Canvas Transform Goes Haywire if Scaled

2015-02-05 Thread Sean P. DeNigris
Thank you Werner and Nicolai! You were both right :) The transform offset needed to be scaled and the clipping needed to be both translated and scaled, too. The final code was: morph := Morph new topLeft: 200@400; openInWorld. outp

Re: [Pharo-users] Question on Morphic drawOn: method.

2015-02-05 Thread Trygve Reenskaug
I've tested your code in Squeak and found another bug (I should have been more careful when I read your code. Shame on me.) In class Ball you have the methods position: aPoint super position: aPoint. This does not set a value to your position variable in class Ball, but

Re: [Pharo-users] Canvas Transform Goes Haywire if Scaled

2015-02-05 Thread Werner Kassens
On 02/05/2015 03:27 PM, Sean P. DeNigris wrote: This seems so complicated. I would naively think that the API should do much of this for you. For example, why doesn't it know that when there's an offset AND a scale, the transform's offset should be adjusted by the scale? Hi Sean, i guess i would

Re: [Pharo-users] Question on Morphic drawOn: method.

2015-02-05 Thread nacho
That work perfectly. What a silly mistake!!! Of course it should have been position := aPoint. Now, is it possible write the drawOn: method without calling super drawOn: a Canvas? I don't completely get it why I should call super drawOn: aCanvas thanks nacho *Lic. Ignacio Sniechowski, MBA* *Prosa

Re: [Pharo-users] Question on Morphic drawOn: method.

2015-02-05 Thread Trygve Reenskaug
Because your drawOn: method doesn't draw anything and needs help from super. It seems to me that you need to read more documentation :-) On 05.02.2015 15:53, nacho wrote: That work perfectly. What a silly mistake!!! Of course it should have been position := aPoint. Now, is it possible write the

Re: [Pharo-users] Question on Morphic drawOn: method.

2015-02-05 Thread nacho
Yes! Point me to those documents and I will love to read them!!! thanks in advance *Lic. Ignacio Sniechowski, MBA* *Prosavic SRL* *Tel: (011) 4542-6714* On Thu, Feb 5, 2015 at 1:02 PM, Trygve Reenskaug [via Smalltalk] < ml-node+s1294792n4804005...@n4.nabble.com> wrote: > >

[Pharo-users] RadarMorph (was Re: Canvas Transform Goes Haywire if Scaled)

2015-02-05 Thread Sean P. DeNigris
Nicolai Hess wrote > What do you want to achieve? I've created an infinite desktop a la Self. To make things manageable, I'm currently writing a RadarView (also just like Self) to show a map of all the objects on the desktop, and the position of the current viewport. It's working now thanks to you

Re: [Pharo-users] RadarMorph (was Re: Canvas Transform Goes Haywire if Scaled)

2015-02-05 Thread Ignacio Sniechowski
awesome! question, the UI was made completely in Morphic? or did you use Spec? thanks *Lic. Ignacio Sniechowski, MBA* *Prosavic SRL* *Tel: (011) 4542-6714* On Thu, Feb 5, 2015 at 3:06 PM, Sean P. DeNigris wrote: > Nicolai Hess wrote > > What do you want to achieve? > > I'v

Re: [Pharo-users] RadarMorph (was Re: Canvas Transform Goes Haywire if Scaled)

2015-02-05 Thread Sean P. DeNigris
nacho wrote > question, the UI was made completely in Morphic? or did you use Spec? Both. The standard parts (e.g. window, toolbars) were Spec, and everything inside the World window is pretty much straight Morphic. - Cheers, Sean -- View this message in context: http://forum.world.st/Canv

Re: [Pharo-users] What Essays??

2015-02-05 Thread Stephan Eggermont
Hi Richard, It is probably hard to see from 1 miles away, but we have been quite busy promoting Smalltalk recently. Pharo Days last thursday and friday and the Smalltalk Devroom at Fosdem last sunday take up a significant amount of time. Priorities Stephan

Re: [Pharo-users] RadarMorph (was Re: Canvas Transform Goes Haywire if Scaled)

2015-02-05 Thread Nicolai Hess
2015-02-05 19:06 GMT+01:00 Sean P. DeNigris : > Nicolai Hess wrote > > What do you want to achieve? > > I've created an infinite desktop a la Self. To make things manageable, I'm > currently writing a RadarView (also just like Self) to show a map of all > the > objects on the desktop, and the posi

Re: [Pharo-users] Question on Morphic drawOn: method.

2015-02-05 Thread Trygve Reenskaug
http://pharo.org/ On 05.02.2015 17:14, nacho wrote: Yes! Point me to those documents and I will love to read them!!! thanks in advance *Lic. Ignacio Sniechowski, MBA** * *Prosavic SRL* * * *Tel: (011) 4542-6714* * * * * * * * * * * * * * * * * * * * * * * * * * ** ** * On Thu, Feb 5, 20

Re: [Pharo-users] What Essays??

2015-02-05 Thread Ben Coman
On Fri, Feb 6, 2015 at 4:59 AM, Stephan Eggermont wrote: > Hi Richard, > > It is probably hard to see from 1 miles away, but we have been > quite busy promoting Smalltalk recently. Pharo Days last thursday and > friday and the Smalltalk Devroom at Fosdem last sunday take up > a significant am