Yes. I was too lazy. It's committed now.

Thanks,
Doru

On Wed, Dec 10, 2014 at 4:39 PM, Nicolai Hess <[email protected]> wrote:

> Currently, spotter finds only messages with the exact name.
> for example:
> addStep
> finds no implementors althought the method
> addStep:
>
> exists.
>
>
>
> suggestion for spotterImplementorsFor:
>
>
> spotterImplementorsFor: aStep
>     <spotterOrder: 30>
>     | processor |
>     processor := aStep listProcessor.
>     processor
>         title: 'Implementors';
>         filter: [ :originalQuery :stream |
>                 | aCollection query |
>                 aCollection := OrderedCollection  new.
>                 query := originalQuery trimBoth.
>                 SystemNavigation default allBehaviorsDo: [:class |
>                     class selectorsDo:[:selector |
>                         (selector includesSubstring: query)
>                         ifTrue: [
>                             | method |
>                             method := class>>selector.
>                             aCollection add: method.
>                             aCollection size > 5 ifFalse: [
>                                 stream addObject: method inProcessor:
> processor ]]]].
>                 aCollection ].
>     ^ processor
>
>
>
>
>
>
>


-- 
www.tudorgirba.com

"Every thing has its own flow"

Reply via email to