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


Groups > comp.lang.python > #64810

Re: Highlighting program variables instead of keywords?

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 2014-01-27 11:52 +1100
Subject Re: Highlighting program variables instead of keywords?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.6011.1390783954.18130.python-list@python.org> (permalink)

Show all headers | 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