COMMENTS ARE UNDERLINED

Apr 10, 2014 at 8:07pm
I CANNOT STOP HAVING ALL MY // COMMENTS
FROM BEING UNDERLINED

I'M NOT TALKING ABOUT RED SQUIGGLY LINES ....
I'M TALKING ABOUT ANY // COMMENTS
WHATSOEVER ... ARE ALL FULLY UNDERLINED ...
QUITE IRRITATING.

COMMENTS / SUGGESTIONS APPRECIATED.

SIGNED
XMIT10
Apr 10, 2014 at 8:09pm
What IDE are you using?

Are you sure your file is a C++ file (.cpp extension)?
C compilers don't recognize // as a comment unless you enable a specific option.
Apr 10, 2014 at 8:20pm
IDE = CODE::BLOCKS 13.12
It is a true .cpp file.
Possible location for me to disable the underlining function ??
Apr 10, 2014 at 8:23pm
Does the underline come with a warning/error message, or is it text underline as part of the syntax highlighting for comments? If the latter, you can just change the syntax highlighting rules for comments and untick the underline option.
Apr 10, 2014 at 8:25pm
No warning message. Text underline, yes.
I will look for the syntax highlighting to untick ... thank you !!
Apr 10, 2014 at 8:43pm
Thanks AbstractionAnon and LB ........

for Code::Blocks I discovered that .........


// - - > produces an underlined line comment
*/ - - > produces an underlined line comment

/// - - > produces a 'non' underlined document comment
/** - - > produces a 'non' underlined document comment

Thanks to you both.
Issue resolved.

Signed XMIT10
Topic archived. No new replies allowed.