Etoys: Etoys-kfr.66.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Etoys: Etoys-kfr.66.mcz

commits-2
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!

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev