[squeak-dev] replacing SmalltalkImage current
nicolas.cellier.aka.nice at gmail.com
Sun Mar 7 13:40:18 UTC 2010
2010/3/7 Colin Putney <cputney at wiresong.ca>:
> On 2010-03-06, at 5:15 PM, Nicolas Cellier wrote:
>> I join an update of the small utility to find message sent to globals.
>> This utility can be used like this:
>> 1) create a file out of all senders of (SmalltalkImage current xxx).
>> MessageSentToGlobalMessage fileoutMessagesSentTo: #SmalltalkImage
>> selector: #current.
>> 2) replace (SmalltalkIlage current) by Smalltalk in a text editor
>> (FileList is perfect).
>> 3) fileIn from FileList et voila
>> You get unchanged formatting and unchanged Timestamping.
> Um, don't we want to change the timestamps? It's a new version of the method after all.
> Why not use the rewrite tool?
Because I don't know the rewrite tool.
Is there a way to avoid auto-formatting of rewriten methods ?
More information about the Squeak-dev