A somewhat larger fix for problems regarding renaming of a variable in etoys.
"Change Set: renameVariable-yo Date: 18 January 2004 Author: Yoshiki Ohshima
Make the rename variable feature work. As long as the variable is not used in textually coded scripts, the cases like it is referenced in the other player's script, multiple occurence in more than one script, etc, are solved.
Some fixes and refinements by Scott Wallace, 7 March 04: ¥ Fixed a subtle bug involving renaming a variable when a script of a different object bore a direct reference to that instance variable in a sibling object of the object in whose viewer the variable-rename is requested. ¥ Moved the logic for deciding whether a morph is a complex watcher to UpdatingStringMorph, which is the only morph to which it applies. ¥ Moved the idiosyncratic logic for isPlayer:ofReferencingTile: to PhraseTileMorph, the only place for which it makes sense. ¥ Wording tweaks. ¥ Method comment tweaks.
Version 7 - sw 3/8/2004 - as per Yoshiki's suggestion, restored the warning about variable-names in textually-coded scripts not being automatically converted, for situations where at least one textually-coded script is known to exist. "!
squeakland@lists.squeakfoundation.org