[BUG?][QUESTION] Browser behavior change between Squeak 2.x and 3.x ???

Doug Way dway at riskmetrics.com
Mon Nov 25 23:28:23 UTC 2002


"Swan, Dean" wrote:
> 
> Ok, so I have to admit that I still do most of my Squeaking with 2.7, but I just wanted to try a few quick things in 3.2 and I discovered something *VERY* disturbing.
> 
> ...
> It seems that what is broken is trying to save a method while the '-- all --' category is selected.

I think this is probably due to some browser changes I made sometime between 2.8 and 3.0.  One of the changes I made was to automatically select the '-- all --' category as soon as a class is selected.  This way you can click on different classes in the class pane of a browser and see the list of methods right away for each one (which is especially handy if the classes don't have too many methods).

A side-effect of this is that having the '-- all --' category selected is treated just like not having any method category selected.  In other words, the "class template" shows up in the text area... we still want this class template shown after newly selecting a class so you can see the inst vars, superclass, etc., as the browser has always done.  But if the class template is showing in the text area, you are not in the right "mode" (yikes :-) ) to accept a method.

So, what you need to do in this case is either select an existing method or method category before pasting in your method.  In the case of a newly created class, you can select the "no messages" category, or create a new category.

- Doug Way



More information about the Squeak-dev mailing list