[BUG] Accept method resets method pane contents on a compile error

ajr ly4aegw02 at sneakemail.com
Tue Feb 3 19:55:29 UTC 2004


On Tue, 03 Feb 2004 09:11:42 -0600, Ken Causey wrote:

> This is one way to create a new method but I suspect not the way that
> most people do it.  If you instead select a category so that you have a
> method template and then replace the code in that template then you do
> not see this behavior.  I would argue that this is the more correct
> usage.

I'd counter that my usage was correct (without a magnitude). I'm not sure
how most people do it, maybe that depends on what Smalltalks they've used.
VisualST, dolphin, and vast browsers each do things slightly differently
(eg in Dolphin a category is always selected).

Anyway here's a better test case that eliminates the existing method from
the mix:

1. browse class Model
2. click class
3. click inside method list pane (method template is shown) 4. click
inside method body pane
5. alt-a
6. type a, space, b, alt-s




More information about the Squeak-dev mailing list