Two small changes to Jade Client

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Two small changes to Jade Client

BrunoBB
James,

I have made two small changes (but useful) to Jade. When selecting code in Method List Browser is difficult to browse keyword messages. With this change we can extract the selector of the selected text and find senders or implementors.

CodeSourcePresenter>>browseSenders
browseSenders
        | selectorToBrowse |

        selectorToBrowse := [(SmalltalkParser parseMethod: documentPresenter view selection) selector] on: Error do:[:ex | documentPresenter view selection].

        self browseSendersOf: selectorToBrowse.

CodeSourcePresenter>>browseImplementors
browseImplementors
        | selectorToBrowse |

        selectorToBrowse := [(SmalltalkParser parseMethod: documentPresenter view selection) selector] on: Error do:[:ex | documentPresenter view selection].

        self browseImplementorsOf: selectorToBrowse.

Regards,
Bruno
Reply | Threaded
Open this post in threaded view
|

Re: Two small changes to Jade Client

BrunoBB
Hi,

I meant Keyword message with two parameters or more (in Method List Browser).

Regards,
Bruno