<br><font size=2 face="sans-serif">Hi Noury,</font>
<br>
<br><font size=2 face="sans-serif">What version of Squeak are you using? Could you also give a step by step example of how to reproduce your "bug"?</font>
<br>
<br><font size=2 face="sans-serif">I have tried the following in Squeak 3.2 (with my fix for the --all category--), 3.6-5429, 3.7-5816 and it works without a problem:</font>
<br>
<br><font size=2 face="sans-serif"> 1) open a browser</font>
<br><font size=2 face="sans-serif"> 2) click on 'Kernel-Numbers'</font>
<br><font size=2 face="sans-serif"> 3) click on 'Integer'</font>
<br><font size=2 face="sans-serif"> 4) click on any existing method</font>
<br><font size=2 face="sans-serif"> 5) delete the method source in the text pane and type:</font>
<br>
<br><font size=2 face="sans-serif"> newIntegerMethod</font>
<br><font size=2 face="sans-serif"> ^self</font>
<br>
<br><font size=2 face="sans-serif"> 6) accept the method (<alt>-s or <cmd>-s on MacOS)</font>
<br>
<br><font size=2 face="sans-serif">'newIntegerMethod' gets added to the '--all--' category of 'Integer'. 'newIntegerMethod' will also get added to the category of the previously selected method. For example, I selected '*' which is in the 'arithmetic' category, so 'newIntegerMethod' will also get added to the 'arithmetic' category.</font>
<br>
<br><font size=2 face="sans-serif">If you don't want the new metod to be added to the same category of the previously selected method you can also try the following example:</font>
<br>
<br><font size=2 face="sans-serif"> 1) open a browser</font>
<br><font size=2 face="sans-serif"> 2) click on 'Kernel-Numbers'</font>
<br><font size=2 face="sans-serif"> 3) click on 'Integer'</font>
<br><font size=2 face="sans-serif"> 4) click on the '--all--' category</font>
<br><font size=2 face="sans-serif"> 5) delete the method source in the text pane and type:</font>
<br>
<br><font size=2 face="sans-serif"> newIntegerMethod</font>
<br><font size=2 face="sans-serif"> ^self</font>
<br>
<br><font size=2 face="sans-serif"> 6) accept the method (<alt>-s or <cmd>-s on MacOS)</font>
<br>
<br>
<br><font size=2 face="sans-serif">Does this help?</font>
<br>
<br><font size=2 face="sans-serif"> -Dean Swan</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Noury Bouraqadi <bouraqadi@ensm-douai.fr></b></font>
<br><font size=1 face="sans-serif">Sent by: squeak-dev-bounces@lists.squeakfoundation.org</font>
<p><font size=1 face="sans-serif">04/21/04 09:39 AM</font>
<br><font size=1 face="sans-serif">Please respond to The general-purpose Squeak developers list </font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To: "squeak-dev@lists.squeakfoundation.org" <squeak-dev@lists.squeakfoundation.org></font>
<br><font size=1 face="sans-serif"> cc: </font>
<br><font size=1 face="sans-serif"> Subject: [BUG] method code lost</font></table>
<br>
<br>
<br><font size=2 face="Courier New">Hi,<br>
<br>
Today is my complaints day :-)<br>
<br>
When I select a class in the browser, I can see all it method selectors <br>
in the method pane.<br>
However, no category is selected. I can even select a method without <br>
having a category selected.<br>
<br>
Now the bug: I can add a new method without selecting a category.<br>
The code of the method is lost... Why by default method category -- all <br>
-- is not highlighted ?<br>
In this case a new method is not lost and appears 'as yet unclassifyied' <br>
which is a good behavior.<br>
<br>
Noury<br>
<br>
-- <br>
------------------------------------------<br>
Dr. Noury Bouraqadi - Enseignant/Chercheur<br>
Ecole des Mines de Douai - Dept. G.I.P<br>
http://csl.ensm-douai.fr/noury<br>
<br>
European Smalltalk Users Group<br>
http://www.esug.org <br>
<br>
Squeak: an Open Source Smalltalk<br>
http://www.squeak.org <br>
------------------------------------------<br>
<br>
<br>
<br>
</font>
<br>
<br>