User forums > Help

C++ Raw String Highlighting Support

(1/2) > >>

LazyCoder:
C::B svn 10320

Hi, currently C::B's editor does not support C++ raw strings highlighting.
Example:

--- Code: ---const char *Raw = R"(Raw String)";
//                ^ it just colors with the default.

--- End code ---

Any plans to support it?

Thanks.

ollydbg:
Related bug report: C++11 raw string literals not syntax highlighted correctly

But I don't know what is the real reason of this bug...

oBFusCATed:
Does it work correcty in Scite?
If it does then this is cb bug, if it doesn't then this is scintilla bug.

LazyCoder:

--- Quote from: oBFusCATed on June 18, 2015, 09:33:47 pm ---Does it work correcty in Scite?
If it does then this is cb bug, if it doesn't then this is scintilla bug.

--- End quote ---

Yes, the latest version of SciTE (3.5.6), highlights C++ raw strings correctly.

So, unfortunately, this is a C::B bug. :'(

ollydbg:
The author of Scintilla's comments about this issue: https://sourceforge.net/p/scintilla/bugs/1668/#b09f/8d34/93a9/c939/d509/46e0.

I just don't know how to fix it under C::B.  :)

Navigation

[0] Message Index

[#] Next page

Go to full version