Re: [Newbies] Indenting Code

2009-12-02 Thread Göran Krampe
Ole Voß wrote: P E R F E C T! Exactly what I was looking for! More goodies along that line here: http://web.cecs.pdx.edu/~black/OOP/Tutorial/SqueakLanguageRef.html ...indirectly reachable from: http://www.squeak.org/Documentation regards, Göran

Re: [Newbies] Indenting Code

2009-12-02 Thread LordGeoffrey
Thanks. Ctrl-q is just what i wanted. Göran Krampe wrote: Ole Voß wrote: P E R F E C T! Exactly what I was looking for! More goodies along that line here: http://web.cecs.pdx.edu/~black/OOP/Tutorial/SqueakLanguageRef.html ...indirectly reachable from: http://www.squeak.org/Documentation

Re: [Newbies] Indenting Code

2009-11-28 Thread Herbert König
Hi Ole, OV I was wondering how to indent a whole block of code at once? in a code pane the shift right click (Windows) menu has an entry pretty print whose results are not unanimously loved. -- Cheers, Herbert ___ Beginners mailing list

Re: [Newbies] Indenting Code

2009-11-28 Thread Ole Voß
Hallo Herbert, I can't say that I'm particularly fond of the result :-) but thanks for the hint. Any other way of indenting several lines of code at once? Kind regards, Ole. On Nov 28, 2009, at 9:08 AM, Herbert König wrote: Hi Ole, OV I was wondering how to indent a whole block of

Re: [Newbies] Indenting Code

2009-11-28 Thread Scott Wallace
wrote: From: Ole Voß smallt...@netrogue.de Subject: [Newbies] Indenting Code To: beginners@lists.squeakfoundation.org Date: Friday, November 27, 2009, 11:07 PM I was wondering how to indent a whole block of code at once? I often try things out in a workspace window and then CP the contents

Re: [Newbies] Indenting Code

2009-11-28 Thread Ole Voß
to increase indentation one level (move Rightward) HTH. -- Scott --- On Fri, 11/27/09, Ole Voß smallt...@netrogue.de wrote: From: Ole Voß smallt...@netrogue.de Subject: [Newbies] Indenting Code To: beginners@lists.squeakfoundation.org Date: Friday, November 27, 2009, 11:07 PM I

[Newbies] Indenting Code

2009-11-27 Thread Ole Voß
I was wondering how to indent a whole block of code at once? I often try things out in a workspace window and then CP the contents into my methods, unfortunately the indentation is never quite the right depth. Could somebody help me out? Kind regards,

Re: [Newbies] indenting code

2006-12-13 Thread Göran Krampe
Hi! Hello Norbert, NH I'm asking myself if there is any common sense about NH how to indent the code in smalltalk/squeak. there also must be some common sense about it but in my case lazyness rules. I type without thinking about indentation and let the pretty printer take care that

Re: [Newbies] indenting code

2006-12-13 Thread Benjamin Schroeder
Hi Norbert, Hi, I'm asking myself if there is any common sense about how to indent the code in smalltalk/squeak. Most of the time I see something like statement do: [ :parameter | otherStatement selector: [ mostinnerstatement ] ]. or statement do: [ :parameter | otherStatement

Re: [Newbies] indenting code

2006-12-13 Thread Norbert Hartl
On Wed, 2006-12-13 at 09:09 -0500, Benjamin Schroeder wrote: Hi Norbert, Hi, I'm asking myself if there is any common sense about how to indent the code in smalltalk/squeak. Most of the time I see something like statement do: [ :parameter | otherStatement selector: [

Re: [Newbies] indenting code

2006-12-13 Thread Frank Caggiano
Also take a look at Smalltalk with Style. Stéphane Ducasse has it available at http://www.iam.unibe.ch/~ducasse/FreeBooks.html Frank Caggiano [EMAIL PROTECTED] http://www.crystal-objects.com The best education for the best is the best education for all.

Re: [Newbies] indenting code

2006-12-13 Thread stephane ducasse
You can find some hints in the book of kent Beck Best smalltalk practices. He stresses the idea to have recognizable block. I like the following. Damien Pollet did Gutenberg a new pretty printer for squeak. Giving him feedback is the best way to see it improved. fooMethod my comment