should do it. Unfortunately I am still using the 4.9.8.10 on
thsi system. Didn't get around to update it yet. I can check
on my system with 4.9.9.0 later.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In version 4.9.9.0, when enabled, all invisible characters are
formatted (ie, colored and styled) according to the previous
token everywhere in the text, not just in comments. Only
spaces/tabs at the beginning of a line, and carriage returns
outside comments, are displayed with the desired color/style.
I am not sure that displaying invisible chars in the same style
as the surrounding text is a good idea, because it makes the
code impossible to read. My (own personal egocentric) reason
for displaying invisible characters is to detect mixed tabs/
spaces in code indentation, so I use a very light color so as
not to pollute the code itself. So, even in comments, I'd rather
have my color used, because nothing looks more like a period
than a visible whitespace :-)
While I am at it with syntax highlighting bugs: the floating
number "1.e-4" displays "1." as invalid characters, whereas "1.
0e-4" makes the editor happy. Both compile fine though.
Cheers,
Benoit, brand new dev-cpp user.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=609236
can you give an example? are you using the latest cvs version?
Logged In: YES
user_id=591019
just a line like
// this is a comment
should do it. Unfortunately I am still using the 4.9.8.10 on
thsi system. Didn't get around to update it yet. I can check
on my system with 4.9.9.0 later.
Logged In: YES
user_id=609236
What I meant was - what do you mean by "chose to format it"?
Logged In: YES
user_id=591019
I meant the "Editor Options". I got my comments in cyan and
the hidden line char is also in cyan.
Logged In: YES
user_id=609236
IMHO that's the proper behaviour. New line char is a part of
the commented out line - just like spaces and other
characters....
Logged In: YES
user_id=863258
Hi,
In version 4.9.9.0, when enabled, all invisible characters are
formatted (ie, colored and styled) according to the previous
token everywhere in the text, not just in comments. Only
spaces/tabs at the beginning of a line, and carriage returns
outside comments, are displayed with the desired color/style.
I am not sure that displaying invisible chars in the same style
as the surrounding text is a good idea, because it makes the
code impossible to read. My (own personal egocentric) reason
for displaying invisible characters is to detect mixed tabs/
spaces in code indentation, so I use a very light color so as
not to pollute the code itself. So, even in comments, I'd rather
have my color used, because nothing looks more like a period
than a visible whitespace :-)
While I am at it with syntax highlighting bugs: the floating
number "1.e-4" displays "1." as invalid characters, whereas "1.
0e-4" makes the editor happy. Both compile fine though.
Cheers,
Benoit, brand new dev-cpp user.