On Tue, May 11, 2010 at 12:04 AM, Ron Jeffries <ronjeffries@acm.org> wrote:
Hello, Tudor. On Monday, May 10, 2010, at 5:38:07 PM, you wrote:
If I understood correctly it is about the matching of brackets and quotes. In this regard, the completion behaves exactly like TextMate.
So, why is this a bug?
How do you manage to type a single quote in TextMate? Does that work in Pharo?
Good question. But I don't know. This "feature" is from the package Shout that is installed in Pharo dev images. If you take a PharoCore for example, it doesn't happen.
I keep winding up with too many right parens. It is possible that I am typing too many. My suspicion is that Pharo is providing too many.
This is how it works: 1) when you type the LEFT side of: { , [ , ( , " , ' etc .... it will AUTOMATICALLY open the other pair. This is because this is usually the case: you open the left one, you will probably need to open the right one. 2) when you type the RIGHT side, it only writes the right side. 3) When you remove a left side of the two recently created ( like 1) ) , just after creating it, it removes both of them: left and right Let me remark something. The style to work with this tool, is not to go to left, type, then go to right, and type. I mean, suppose I have this Transcript show: 5 timesRepeat: ['something'] and I need to have it like this: Transcript show: (5 timesRepeat: ['something']) the whay to work with Pharo is not: Transcript show: (5 timesRepeat: ['something'] then Transcript show: (5 timesRepeat: ['something']) The idea is that you FIRST select the code you want, and then, you press the LEFT side of what you want. In that case, you select "5 timesRepeat: ['something']" and with that selected you press "(" . And the same with all those characters. It is difficult to explain by chat hahahaha. I think they are very very useful, but you have to get use to. When I started with Pharo I was still a java developer..so I was the whole day with Eclipse and then at night with Pharo...and it was incredible how I was trying to work this way in Eclipse, in gmail, in TextEdit etc hahahahha Cheers Mariano
Ron Jeffries www.XProgramming.com www.xprogramming.com/blog New and stirring things are belittled because if they are not belittled, the humiliating question arises, "Why then are you not taking part in them?" -- H. G. Wells
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users