[FIX] etoys rename variable
Michael Rueger
michael at squeakland.org
Wed Mar 10 00:58:03 UTC 2004
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.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0198renameVariable-yo.zip
Type: application/zip
Size: 3979 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040309/7227cf23/0198renameVariable-yo.zip
More information about the Squeak-dev
mailing list
|