[GOODIE] SPSMethodSearcher: MessageSet+MethodFinder in one window, plus added search abilities

Steve Swerling sps2000 at mail.com
Fri Sep 21 00:33:28 UTC 2001


Hi,

SPSMethodSearcher requires requires spsWidget.1.cs, which is located
here:
    http://www.bestweb.net/~swerling/squeak/spsWidget.1.cs.gz

The SPSMethodSearcher is here:
    http://users.bestweb.net/~swerling/squeak/spsMethodSearcher.1.cs.gz

Note: If you are using SPSMethodBrowser (not to be confused with
SPSBrowser), remove it before filing in the changesets above (or just
delete the sps-widget and sps-methodsearcher categories).

Requires image containing updates up to #4332.

Description:

The SPSMethodBrowser adds a search pane to the standard message browser
(the one that you see when you browse for senders, implementors, etc).
In the search pane you can do the usual searches, but you can constrain
where to look. For instance, you can browse for all source code
containing the string ""#whoHandlesThis"" within the ""Morphic""
package. You can restrict the search to be within a class, a class
branch, a package, or the whole system.

SPSWidget contains a combobox, a dropdown list, some buttons, and some
modal dialogs that some may find useful.

===== From the changeset preamble:=======
The SPSMethodBrowser adds a search pane to the standard message browser
(the one that you see when you browse for senders, implementors, etc).
In the search pane you can do the usual searches, but you can constrain
where to look. For instance, you can browse for all source code
containing the string ""#whoHandlesThis"" within the ""Morphic""
package. You can restrict the search to be within:
        a class, 
        a class branch (a ""local"" search), 
        a package, 
        all of smalltalk. 

You can do search for:
        senders
        implementors
        source containing a string
        references to globals (including classes),
        references to Class variables
        selectors with a substring 
                        Just like in the method finder.
                        enter in part of the method name, and 
                        a list of methods that contain the search 
                        string in their name are searched for).
        by example
                        Also adapted from the method finder.
                        Search for a method based on the arguments
                        it takes and its output."




More information about the Squeak-dev mailing list