[Glass] Two small changes to Jade Client

BrunoBB via Glass glass at lists.gemtalksystems.com
Wed Sep 30 12:23:38 PDT 2015


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



--
View this message in context: http://forum.world.st/Two-small-changes-to-Jade-Client-tp4852870.html
Sent from the GLASS mailing list archive at Nabble.com.


More information about the Glass mailing list