Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'that?': 0.05; '(python': 0.07; 'editor.': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'language.': 0.14; 'windows': 0.15; '23,': 0.16; 'indent': 0.16; 'menu.': 0.16; 'ought': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'settings': 0.22; '>>>': 0.22; 'aug': 0.22; 'header:User-Agent:1': 0.23; 'options': 0.25; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'statement': 0.30; 'code': 0.31; 'lines': 0.31; 'that.': 0.31; 'bunch': 0.31; 'text': 0.33; 'fri,': 0.33; 'editor': 0.35; 'add': 0.35; 'there': 0.35; 'idle': 0.36; 'question,': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; "you're": 0.61; 'our': 0.64; 'charset:windows-1252': 0.65; 'default': 0.69; 'again?': 0.84; 'everything.': 0.84; 'received:2': 0.84; 'subject:Global': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Global indent Date: Fri, 22 Aug 2014 21:59:17 +0100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-196-254.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408741186 news.xs4all.nl 2899 [2001:888:2000:d::a6]:35304 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76823 On 22/08/2014 21:20, Chris Angelico wrote: > On Sat, Aug 23, 2014 at 5:46 AM, Seymore4Head > wrote: >> On Fri, 22 Aug 2014 14:19:29 -0400, Seymore4Head >> 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 > There are also indent and dedent options on the format menu. Using default settings on Windows 8.1, python 3.4.1 these are CTRL+] and CTRL+[ respectively. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence