[etoys-dev] Etoys: Etoys-kfr.66.mcz

commits at source.squeak.org commits at source.squeak.org
Thu May 19 17:25:01 EDT 2011


Karl Ramberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-kfr.66.mcz

==================== Summary ====================

Name: Etoys-kfr.66
Author: kfr
Time: 19 May 2011, 11:24:22 pm
UUID: 31198256-d631-394b-a746-2f1c9e8504e0
Ancestors: Etoys-kfr.65

When switching language, parentheses turn into "grouped" function
http://tracker.squeakland.org/browse/SQ-686

=============== Diff against Etoys-kfr.63 ===============

Item was added:
+ ----- Method: FunctionNameTile>>updateLiteralLabel (in category 'updating') -----
+ updateLiteralLabel
+ 	 "Update the wording emblazoned on the tile, if needed"
+ 	| myLabel functionTriplet |
+ 	(myLabel := self labelMorph)
+ 	     ifNil: [^ self].
+ 	operatorOrExpression == #grouped
+ 		ifTrue: [myLabel acceptValue: ' ']
+ 		ifFalse: [functionTriplet := ScriptingSystem tableOfNumericFunctions
+ 						detect: [:triplet | triplet second = operatorOrExpression].
+ 			myLabel acceptValue: functionTriplet first].
+ 	self addArrows.
+ 	self changed!



More information about the etoys-dev mailing list