Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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.068 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'plenty': 0.07; 'python': 0.11; 'blocks': 0.16; 'character.': 0.16; 'fancy': 0.16; 'indent': 0.16; 'shifts': 0.16; 'tab': 0.16; 'wrote:': 0.18; 'replacing': 0.19; 'select': 0.22; 'header:User-Agent:1': 0.23; 'sort': 0.25; 'options': 0.25; 'task': 0.26; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'mode': 0.30; 'work.': 0.31; 'too.': 0.31; 'there.': 0.32; 'probably': 0.32; 'text': 0.33; 'but': 0.35; 'there': 0.35; 'should': 0.36; 'configured': 0.38; 'to:addr :python-list': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'even': 0.60; 'august': 0.61; 'simple': 0.61; 'more': 0.64; 'mail.': 0.69; 'add-on': 0.84; 'received:btcentralplus.com': 0.84; 'received:86': 0.91; 'subject:Global': 0.91 User-Agent: Kaiten Mail In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: Global indent From: Simon Ward Date: Fri, 22 Aug 2014 20:22:56 +0100 To: "Neil D. Cerutti" ,python-list@python.org X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: -- X-Spam-Report: No, score=-2.9 required=5.0 tests=ALL_TRUSTED, BAYES_00 autolearn=ham version=3.3.2 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408737561 news.xs4all.nl 2927 [2001:888:2000:d::a6]:33131 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76816 On 22 August 2014 19:44:39 BST, "Neil D. Cerutti" wrote: >This sort of simple task [indenting blocks of text] is why fancy text editors were invented. > >I use and recommend gvim (press > in select mode using the standard >python plugin), but there are plenty of options out there. Even without the Python add-on this should work. It shifts the text based on the 'shiftwidth' setting. I vaguely remember using some other editors (one or more of Nedit, Gedit, Kate, Notepad++, Eclipse) that use, or can be configured to use, the tab key to indent selected text rather than replacing it with a tab character. Shift-tab probably out dented too. Simon -- Sent from Kaiten Mail. Please excuse my brevity.