Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76821

Re: Global indent

References <tl1fv9di31uj2mq87u5mpudqjql2o5bvbv@4ax.com> <bt6fv9djhcv0h5jauao5dij7urmgteoa53@4ax.com>
Date 2014-08-23 06:20 +1000
Subject Re: Global indent
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.13307.1408738847.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Aug 23, 2014 at 5:46 AM, Seymore4Head
<Seymore4Head@hotmail.invalid> wrote:
> On Fri, 22 Aug 2014 14:19:29 -0400, Seymore4Head
> <Seymore4Head@Hotmail.invalid> wrote:
>
>>Is there a way to indent everything again?
>>
>>Say I have a while statement with several lines of code and I want to
>>add a while outside that.  That means indenting everything.  Is there
>>a global way to do that?
>
> Ok.....so the answer is no using IDLE (Python GUI)

This is very much an editor question, so you ought to have said *right
at the beginning* that you're using Idle's editor.

Try selecting a bunch of text and hitting Tab.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Global indent Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-22 14:19 -0400
  Re: Global indent Skip Montanaro <skip@pobox.com> - 2014-08-22 13:34 -0500
  Re: Global indent "Neil D. Cerutti" <neilc@norwich.edu> - 2014-08-22 14:44 -0400
  Re: Global indent Dan Stromberg <drsalists@gmail.com> - 2014-08-22 12:21 -0700
  Re: Global indent Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-22 15:46 -0400
    Re: Global indent Rob Gaddi <rgaddi@technologyhighland.invalid> - 2014-08-22 12:54 -0700
      Re: Global indent Marko Rauhamaa <marko@pacujo.net> - 2014-08-22 23:11 +0300
        Re: Global indent Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-23 19:08 +1000
          Re: Global indent Marko Rauhamaa <marko@pacujo.net> - 2014-08-23 12:32 +0300
          Re: Global indent Christian Gollwitzer <auriocus@gmx.de> - 2014-08-23 11:41 +0200
            Re: Global indent Joshua Landau <joshua@landau.ws> - 2014-08-23 15:19 +0100
              Re: Global indent Christian Gollwitzer <auriocus@gmx.de> - 2014-08-23 18:17 +0200
                Re: Global indent Joshua Landau <joshua@landau.ws> - 2014-08-23 21:57 +0100
                Re: Global indent Rustom Mody <rustompmody@gmail.com> - 2014-08-23 14:55 -0700
                Re: Global indent Joshua Landau <joshua@landau.ws> - 2014-08-24 20:24 +0100
            Re: Global indent Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-24 00:56 +1000
              Re: Global indent Christian Gollwitzer <auriocus@gmx.de> - 2014-08-23 18:09 +0200
              Re: Global indent Anders Wegge Keller <wegge@wegge.dk> - 2014-08-23 22:43 +0200
                Re: Global indent Marko Rauhamaa <marko@pacujo.net> - 2014-08-24 01:50 +0300
            Re: Global indent Tim Chase <python.list@tim.thechases.com> - 2014-08-23 15:18 -0500
          Re: Global indent Rustom Mody <rustompmody@gmail.com> - 2014-08-23 07:49 -0700
          Re: Global indent [levity] Peter Pearson <pkpearson@nowhere.invalid> - 2014-08-23 17:17 +0000
      Re: Global indent "Neil D. Cerutti" <neilc@norwich.edu> - 2014-08-22 16:16 -0400
      Re: Global indent Dan Stromberg <drsalists@gmail.com> - 2014-08-22 14:14 -0700
        Re: Global indent Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-23 19:31 +1000
          Re: Global indent Tim Chase <python.list@tim.thechases.com> - 2014-08-23 15:09 -0500
      Re: Global indent Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-23 18:19 +1000
        Re: Global indent alister <alister.nospam.ware@ntlworld.com> - 2014-08-23 10:17 +0000
          Re: Global indent Gene Heskett <gheskett@wdtv.com> - 2014-08-23 10:32 -0400
    Re: Global indent Chris Angelico <rosuav@gmail.com> - 2014-08-23 06:20 +1000
    Re: Global indent Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-22 21:59 +0100
    Re: Global indent mm0fmf <none@mailinator.com> - 2014-08-23 12:50 +0100
  Re: Global indent Simon Ward <simon@bleah.co.uk> - 2014-08-22 20:22 +0100
  Re: Global indent Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-23 18:12 +1000
  Re: Global indent Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-23 11:10 -0400

csiph-web