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 [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
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 [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
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 > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
In reply to this post by Ole Voß
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ß <[hidden email]> wrote: > From: Ole Voß <[hidden email]> > Subject: [Newbies] Indenting Code > To: [hidden email] > 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 > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners > Beginners mailing list [hidden email] 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ß <[hidden email]> wrote: > >> From: Ole Voß <[hidden email]> >> Subject: [Newbies] Indenting Code >> To: [hidden email] >> 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 >> [hidden email] >> http://lists.squeakfoundation.org/mailman/listinfo/beginners >> > _______________________________________________ > Beginners mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners _______________________________________________ Beginners mailing list [hidden email] 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 _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
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 > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners > _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
Free forum by Nabble | Edit this page |