[squeak-dev] recent buglet

Frank Shearar frank.shearar at gmail.com
Wed Sep 18 06:05:06 UTC 2013


It's more explicit, and often I want to browse the class definition.
This way the tools will open a Browser on a particular method _if
possible_, and simply Browser the class definition otherwise (instead
of doing nothing at all) when I alt-b the list item.

frank

On 17 September 2013 23:51, Nicolas Cellier
<nicolas.cellier.aka.nice at gmail.com> wrote:
> What is the difference between:
>     ToolSet browse: Object selector: nil
> and
>     ToolSet browseClass: Object
> Is it just more explicit?
>
> There are other senders of browse:selector: with nil selector, should they
> be turned into browseClass: ?
>
>
>
> 2013/9/17 Frank Shearar <frank.shearar at gmail.com>
>>
>> On 17 September 2013 22:33, Bob Arning <arning315 at comcast.net> wrote:
>> >
>> > 'From Squeak4.5 of 16 September 2013 [latest update: #12968] on 17
>> > September
>> > 2013 at 5:31:18 pm'!
>> >
>> > !StringHolder methodsFor: '*Tools' stamp: 'fbs 9/13/2013 17:29'!
>> > browseMethodFull
>> >     "Create and schedule a full Browser and then select the current
>> > class
>> > and message."
>> >     ^ self selectedClassOrMetaClass ifNotNil: [ :cls |
>> >         self selectedMessageName
>> >             ifNotNil: [ :sel |
>> >                 ToolSet browse: cls selector: sel]
>> >             ifNil: [ToolSet browserClass: cls]].! !
>> >
>> > #browserClass: is not understood here.
>> > #browseClass: will work
>>
>> Oh dear. I'll fix it up. We seriously need more tests for core
>> infrastructure like this.
>>
>> Thanks for the catch!
>>
>> frank
>>
>> > Cheers,
>> > Bob
>> >
>> >
>> >
>>
>
>
>
>


More information about the Squeak-dev mailing list