2010/7/31 Nick Ager <[email protected]>: >> >>> but if the point is that it is useful if one selects and then types, >>> could it simply apply the smart characters only when there is a slection as >>> the character is typed? In that case, typing [ would do just that, typing [ >>> when there is a selection would wrap the selection in []. Just a thought. >> >> I like this idea -- smartCharacters might be useful if it only took effect >> with a non-null selection. As it is, trying to type 'foo' is just too >> annoying to leave it on. >> > > +1 > It's also a frustration for those new to Smalltalk as the editor doesn't > behave in the way they're used to from their current programming editors. We > noticed this when we ran the introduction to Smalltalk at the recent > CampSmalltalk London. > However having the "Smart Character" off when you type, but on for a > selection so they magically wrap around selected text would in my view, be a > perfect compromise.
I don't know if we talk about the same thing, but smart characters behave the same way in my Pharo images as they do in Eclipse and in TextMate. Lukas -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
