"Mark Derricutt" <
[hidden email]> wrote in message
news:cpaggb$
[hidden email]...
> Just noticed the find usages dialog isn't showing ALL usages of a method:
>
>
http://stumpy.talios.com/~amrk/dolphin-find-usages.png>
> In here, the method #useOutlookProfileSettings: is called where its
> highlighted, but also a bit lower down, why isn't it mentioned in the
> list? Is it because there both in the same #initialize method?
Yes, each method will only be listed once even if it uses the message more
than once. Additionally only the first occurrence of the message pattern
will be highlighted. If my memory serves me correctly it will even
highlight message patterns in comments if they come before the pattern in
the code. I think it can even highlight a portion of a bigger different
method pattern if part of it is the same. I think it is just a text search
as far as the highlighting in the method is concerned.
I wonder if the highlighting might be improved in D6 now that Scintilla will
be used. I don't think I would want multiple references in the same method
to be listed multiple times. However it might be handy to have the number
of references in a column, and have all of them highlighted.
Chris