[Squeakland] [ENH]Comma operator to Etoy strings.

Scott Wallace scott.wallace at squeakland.org
Mon Sep 22 23:55:33 UTC 2003


Hi, Karl,

Nice idea!

Four quick observations:

(1)  The little green up/down carets should not occur on the comma 
tile, since there are no alternative operators to cycle among in this 
case.

(2)  The balloon-help message that one gets for the comma tile is not right.

(3)  The extension arrow should occur not only on string-valued 
*constant* tiles, but also on string-valued *variable* tiles -- cf. 
how this is handled in the case of numeric-valued variable tiles.

(4)  The extension arrow for a string-valued tile in a 
string-assignment phrase (e.g. in "client's firstName <- Melvin") 
should appear *after* the string constant, not before.  If you expand 
(i.e. hit the right-facing green arrowhead) and then contract (i.e. 
hit the left-facing green arrowhead,) the correct effect happens. 
[This same bug occurs with the handling of numeric-valued tiles as 
well, so if you happened to be fixing it for the string case, perhaps 
you could fix it for the numeric case as well ;-)]


Cheers,

  -- Scott


At 11:19 PM +0200 9/22/03, Karl Ramberg wrote:
>"Change Set:		ExtendableText
>Date:			22 September 2003
>Author:			Karl Ramberg
>
>Adds #, (comma) as an operator in Etoys strings so strings can grow."!



More information about the Squeak-dev mailing list