<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? &nbsp;Could you also give a step by step example of how to reproduce your &quot;bug&quot;?</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">&nbsp; &nbsp; &nbsp; &nbsp; 1) open a browser</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 2) click on 'Kernel-Numbers'</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 3) click on 'Integer'</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 4) click on any existing method</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 5) delete the method source in the text pane and type:</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; newIntegerMethod</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^self</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 6) accept the method (&lt;alt&gt;-s or &lt;cmd&gt;-s on MacOS)</font>
<br>
<br><font size=2 face="sans-serif">'newIntegerMethod' gets added to the '--all--' category of 'Integer'. &nbsp;'newIntegerMethod' will also get added to the category of the previously selected method. &nbsp;For example, I selected '*' which is in the 'arithmetic' category, so 'newIntegerMethod' will also get added to the &nbsp;'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">&nbsp; &nbsp; &nbsp; &nbsp; 1) open a browser</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 2) click on 'Kernel-Numbers'</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 3) click on 'Integer'</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 4) click on the '--all--' category</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 5) delete the method source in the text pane and type:</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; newIntegerMethod</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^self</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 6) accept the method (&lt;alt&gt;-s or &lt;cmd&gt;-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">&nbsp; &nbsp; &nbsp; &nbsp; -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 &lt;bouraqadi@ensm-douai.fr&gt;</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 &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;&quot;squeak-dev@lists.squeakfoundation.org&quot; &lt;squeak-dev@lists.squeakfoundation.org&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;[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>