[BUG] [FIX] Browser:show message category is broken [sm]

Boris Gaertner Boris.Gaertner at gmx.net
Sat Dec 13 16:02:57 UTC 2003


This bug report is for Squeak 3.7 alfa, #5607

The class hierachy browser can find the category of
message. You do it this way:
1. Select a class, select '--all--' in the category
view and select a method.
2. Bring up the menu of the message name list,
  select 'more...' and then 'show category'

In earlier version2 of Squeak, this changed the
selection of the category name view and it refreshed
the message name list.

The selection in the category name view remains now
unchanged. (both in the morphic browser and in the
MVC browser).

The feature worked in Squeak 3.4, but in 3.6 it is
already broken. The point is that a required changed:
message is not sent in instance method 
selectOriginalCategoryForCurrentMethod.

The attached change set is a proposal to fix this.
Tests and comments are *very* welcome, the browser is
one of our most compilcated models.

Greetings, Boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: showCategoryFix.1.cs
Type: application/octet-stream
Size: 1490 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031213/8a246e40/showCategoryFix.1.obj


More information about the Squeak-dev mailing list