Syntax highlighting, how do you do it?

iCy-fLaME <[email protected]>
Newsgroups gmane.comp.ide.boa-constructor.user
Message-ID <[email protected]>
Python is a very special language in terms of the use of indent, most
other languages simply discard any blank space, but Python doesn't, an
indent more or less could mean a working or broken program.

I have tried many different editors, be it advance or simple, I have
yet come across anything better than Nedit in terms of syntax
highlighting, maybe just because I am used to it, but here is a screen
shot:

https://warwickultrasound.co.uk/~icy/Nedit.png

All the layouts are nice and clear, a clear boundary between different
levels of loops, you can see it straight away which level each
statement belongs to. One can also tell the difference between tab and
space.

With other editors, there are times I found it rather annoying because
I could not tell whether there are enough indents or not. The
following is the default from Boa-constructor:

https://warwickultrasound.co.uk/~icy/boa.png

Compare the end of the i loop, I can never be quite sure whether there
are enough indents to end all 3 loops or not until I select that
section and force highlight it. Wouldn't a "back light" like that in
Nedit make things much easier?

I tried to give some color to the default background color for Python
codes, but then one can not distinguish between return character and
space nor tabs, looks rather cluttered and confusing. Here is a screen
shot:

https://warwickultrasound.co.uk/~icy/boa_bg.png

All codes seem to be embedded into the indent, return character really
shouldn't be highlighted IMO.

Nedit is just a simple text editor, as much as I like about all the
IDE features from Boa-constructor, the syntax highlighting is just not
convenient / straight forward enough for me.

That make me wonder how does everyone get around the syntax
highlighting, does everyone just got used to not having syntax
highlighting for white space, or there are ways to customise it to the
way anyone likes?




-- 
iCy-fLaME
------------------------------------------------
The body maybe wounded, but it is the mind that hurts.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.