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


Groups > comp.lang.python > #64809

Re: Highlighting program variables instead of keywords?

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!feeder1-1.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'cursor': 0.09; 'highlighting': 0.09; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'definition.': 0.16; 'enough.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reedy': 0.16; 'subject:program': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'usually': 0.31; 'follows': 0.31; 'but': 0.35; 'received:google.com': 0.35; 'instances': 0.36; 'done': 0.36; 'subject:?': 0.36; 'track': 0.38; 'first': 0.61; 'name': 0.63; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=B/w3d79vmV7R2R9xZlYt3Ip04TuP7EBrX/MCAs+EuZI=; b=035g3SlriwLPu8JG+FZVcrmJ0mFspj/2eN1m7BqClVCjAHO3mHWzcDe7X41l+cp9Va b4A+RrvH8C53dP2YLIQ83VJtoZt4KMpNwmQugMiKBbBeSRrt4WlZx2tc+r3HtHeWY/EW iCtG6Zvp+f5YL3FLuGis2HtOAxhsnNm3ULtXfwoky+Y42YBzaNWe/Qpy6fUMIGUXLwr3 X3CiiFtkQotbbeM85J/ym7oQGVKWpIopbU2WHMJFHQEDvRkN9RPzwdhWHanVLGywfyzc BLGf+74YF3X2M9OTpMQZDuTD0zt6n8DmAPqAeJIa9yJR3Dg1n8IvBfKg7mSDS8n1wt9W 6O7g==
MIME-Version 1.0
X-Received by 10.66.27.107 with SMTP id s11mr27532376pag.64.1390783880289; Sun, 26 Jan 2014 16:51:20 -0800 (PST)
In-Reply-To <lc4a8n$982$1@ger.gmane.org>
References <CANc-5UwcZT18RgLqzHq0oMPA4sxfbfu0ZQhGPJBYZ0KEUJ6m2g@mail.gmail.com> <CANc-5UwkLjmwA5LCAKRGjDZaf5EiHXCfU4_Hm2e9yXsDmApR=g@mail.gmail.com> <CANc-5UxqBJPjk-QYgOL+n1A85xHAicPQHSPfB1fhBg877g0TTQ@mail.gmail.com> <lc4a8n$982$1@ger.gmane.org>
Date Mon, 27 Jan 2014 11:51:20 +1100
Subject Re: Highlighting program variables instead of keywords?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.6010.1390783883.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1390783883 news.xs4all.nl 2861 [2001:888:2000:d::a6]:50028
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:64809

Show key headers only | View raw


On Mon, Jan 27, 2014 at 11:46 AM, Terry Reedy <tjreedy@udel.edu> wrote:
> The only use I can see for this is to track the usage of a particular name,
> but that would be better done by just highlighting one name at a time.

In SciTE, I can put the cursor on a word and hit Ctrl-F3 to find other
instances of that word. If that's not enough, following it up with
Ctrl-Home, F3 will find the first instance of it, and if the program
follows the Define-Before-Use principle, that'll be the definition.
That's usually enough.

ChrisA

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


Thread

Re: Highlighting program variables instead of keywords? Chris Angelico <rosuav@gmail.com> - 2014-01-27 11:51 +1100

csiph-web