Bug #16389 2009-10-30 23:46

berenger

Error highlighting with line extended

When you use the extend character to extend a C++ style comment the highlight don't continue on the next line.

Try to enter this:

[code]

// little test \

of comment

[/code]

I have tested with

[code]

"an example \

of test"

[/code]

And it work perfectly.

Category
Application::Editor
Group
 
Status
Open
Close date
 
Assigned to
 
berenger 2009-10-30 23:53

I forgot to say that:

_My revision is 5859

_I never see this bug before, but I never try to do this before too. I think this is just a forgot of a case, or a priority problem.

(sorry, I don't know how to compile C::B for now, so I can't help you more than this. And I'm fear I'm near to be a newbie in C++ :) )

ID_54638 2010-01-06 19:18

I believe that this is an issue with Scintilla's C++ lexer. Scintilla is an editing component used by Code::Blocks. Notepad++ also uses Scintilla and suffers this exact same problem (I may be wrong however - maybe Notepad++ and Code::Blocks independently have this same bug, though I strongly doubt so).