Deleting mistakes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Deleting mistakes

Jim Norman
I'm new to Squeak, so please bear with me.  I'm doing the Magritte  
Tutorial and have accidently created a class method that I misnamed.  
How can I delete a class method?  I don't find this in any of the  
documentation or the White book.
Also, how do I properly classify methods when adding them?  (i.e.  
proper selection in pane left of method listing).
Thank you very much for your assistance.

Jim Norman
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Deleting mistakes

Brad Fuller
Jim Norman wrote:
> I'm new to Squeak, so please bear with me.  I'm doing the Magritte
> Tutorial and have accidently created a class method that I misnamed.  
> How can I delete a class method?  
In Browser, Select method, Right-click, select "remove method"



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Deleting mistakes

Giovanni Corriga
In reply to this post by Jim Norman
Il giorno sab, 23/09/2006 alle 22.35 -0400, Jim Norman ha scritto:
> I'm new to Squeak, so please bear with me.  I'm doing the Magritte  
> Tutorial and have accidently created a class method that I misnamed.  
> How can I delete a class method?  I don't find this in any of the  
> documentation or the White book.
> Also, how do I properly classify methods when adding them?  (i.e.  
> proper selection in pane left of method listing).

In the method categories pane (third from left) do a middle click, then
"new category" to create a new category. Then type your methods' code in
the lower pane with your new category selected.

You can also use drag and drop from the methods pane to the methods
category pane to change the category of an already existing method.

        Giovanni

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Deleting mistakes

cedreek
> > I'm new to Squeak, so please bear with me.  I'm doing the Magritte
> > Tutorial and have accidently created a class method that I misnamed.
> > How can I delete a class method?

<cmd> x

is the usual shortcut too.

depending on your system,  <cmd> is alt, ctrl ou the mac button :)

Cédrick

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners