[squeak-dev] Merge Request: browseMethod.1.cs

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Tue Apr 7 18:01:27 UTC 2020


This MR (2 methods) slightly revises the #browseMethod: implementation on ToolSet and StandardToolSet. If the method was never installed in any class, open it in an inspector rather than showing an error message. As we now describe three different cases on how to browse a method, I found it more appropriate to put this logic into StandardToolSet rather than into ToolSet, in order to allow different toolsets to provide their own tools for some of these scenarios.


Examples:

thisContext sender method browse. "System Browser"

thisContext sender method
in: [:m | m methodClass compile: m getSource];
browse. "Versions Browser"
thisContext method browse. "Inspector"

Thanks to Marcel for the idea!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200407/233dbc9f/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: browseMethod.1.cs
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200407/233dbc9f/attachment.ksh>


More information about the Squeak-dev mailing list