I was wondering how to indent a whole block of code at once?
I often try things out in a workspace window and then C&P the contents into my methods, unfortunately the indentation is never quite the right depth.
Could somebody help me out?
Kind regards,
Ole.
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.
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 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 Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Hi, Ole,
Select the lines whose indentation you wish to increase or decrease, and then type:
alt-shift-L to decrease indentation one level (move Leftward) alt-shift-R to increase indentation one level (move Rightward)
HTH.
-- Scott
--- On Fri, 11/27/09, Ole Voß smalltalk@netrogue.de wrote:
From: Ole Voß smalltalk@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 C&P the contents into my methods, unfortunately the indentation is never quite the right depth.
Could somebody help me out?
Kind regards,
Ole._______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
P E R F E C T!
Exactly what I was looking for!
Thank you.
On Nov 28, 2009, at 10:08 AM, Scott Wallace wrote:
Hi, Ole,
Select the lines whose indentation you wish to increase or decrease, and then type:
alt-shift-L to decrease indentation one level (move Leftward) alt-shift-R to increase indentation one level (move Rightward)
HTH.
-- Scott
--- On Fri, 11/27/09, Ole Voß smalltalk@netrogue.de wrote:
From: Ole Voß smalltalk@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 C&P the contents into my methods, unfortunately the indentation is never quite the right depth.
Could somebody help me out?
Kind regards,
Ole._______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
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
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
regards, Göran
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
beginners@lists.squeakfoundation.org