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


Groups > comp.lang.python > #64810

Re: Highlighting program variables instead of keywords?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!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.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'programmer': 0.03; 'syntax': 0.04; '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; 'sorts': 0.16; 'subject:program': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'features,': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'said,': 0.30; '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; "didn't": 0.36; 'possible': 0.36; 'subject:?': 0.36; 'track': 0.38; 'though,': 0.39; 'first': 0.61; 'name': 0.63; 'grew': 0.84; 'important;': 0.84; '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=77HVmNCsrR9uxyh/3AFBOyKOEafYccuOrFqsVr0lncI=; b=qTmjvhQ69T4agaPjyCdamxB6GoNp8/LmdNzBcJ1X28oRGlCFNyF2qpV4+TAlvY/fWJ 3QLSUVbJ3UjNPf2RJxlzBdY6KKPmG3PLuZCZFhJbKqX87sZF1Z3HHJMexys0bRo3mzp5 QahqUa1iY6sLJe+nBN+xZtPAL1U3Y/CN7rpWYRvLYPnXIqZlXipP3c040ojB4M76NB6r 0rKSPSIenzVatfs5Te8yHJmw0U8YlrrnHOHZioi8fU4ZTP65PyZ53KJZU15sWpRQEPil +m00Ag03SKcMIiTTFudYI/KVkurfWPYB8iwMhVh4ZLyz5kI7LbV4iPlh+mUwIPeSjktm pyqA==
MIME-Version 1.0
X-Received by 10.66.179.143 with SMTP id dg15mr27573045pac.52.1390783945070; Sun, 26 Jan 2014 16:52:25 -0800 (PST)
In-Reply-To <CAPTjJmqgHScwtBCW1fbA_+SK2QmVJPE98r6GBXZ=MDZNL7mK+A@mail.gmail.com>
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> <CAPTjJmqgHScwtBCW1fbA_+SK2QmVJPE98r6GBXZ=MDZNL7mK+A@mail.gmail.com>
Date Mon, 27 Jan 2014 11:52:25 +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.6011.1390783954.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1390783954 news.xs4all.nl 2838 [2001:888:2000:d::a6]:51417
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:64810

Show key headers only | View raw


On Mon, Jan 27, 2014 at 11:51 AM, Chris Angelico <rosuav@gmail.com> wrote:
> 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

That said, though, I grew up without syntax highlighting of any sort,
and didn't think it particularly important; but now that I have
editors with all those sorts of features, I do find them handy. So
it's possible that a system like this would be of value if once the
programmer gets used to it.

ChrisA

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


Thread

Re: Highlighting program variables instead of keywords? Chris Angelico <rosuav@gmail.com> - 2014-01-27 11:52 +1100
  Re: Highlighting program variables instead of keywords? Roy Smith <roy@panix.com> - 2014-01-26 21:54 -0500
    Re: Highlighting program variables instead of keywords? Ethan Furman <ethan@stoneleaf.us> - 2014-01-27 07:31 -0800

csiph-web