[Cuis-dev] Handy ReferenceFinder extension and a question...

Phil B pbpublist at gmail.com
Thu Mar 5 23:29:54 PST 2020


Oops... bad version of the code.  Try this one...

On Thu, Mar 5, 2020 at 11:44 PM Phil B <pbpublist at gmail.com> wrote:

> I created a minor extension to ReferenceFinder called, cleverly enough,
> CustomReferenceFinder.  The idea is that you want to scan the image for
> references not based on identity, but some other criteria.  My immediate
> use case was for things that are equal, but not identical, to the target
> object.  So for example: CustomReferenceFinder openExplorerOn: `0 at 0`.
> (i.e. to clean up existing long lived instances)
>
> So now my question is: does anyone have any clever ideas on how to best
> replace all the found references with `0 at 0`?  I don't think #become: is
> the answer because I want to keep all the existing references to the object
> in question, not swap pointers around.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200306/7c2c2b69/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4057-CustomReferenceFinder-PhilBellalouna-2020Mar05-20h15m-pb.001.cs.st
Type: application/octet-stream
Size: 5669 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200306/7c2c2b69/attachment.obj>


More information about the Cuis-dev mailing list