Dev-Cpp icon indicating copy to clipboard operation
Dev-Cpp copied to clipboard

C++11 raw strings (multi-line strings) are highlighted incorrectly.

Open FlatAssembler opened this issue 4 years ago • 2 comments
trafficstars

For example, in this file, everything from line 58 to 74 is one multi-line string, yet it is not highlighted as such: image

FlatAssembler avatar Aug 23 '21 04:08 FlatAssembler

The same problem seems to happen in C++ Builder Community Edition, by the way!

FlatAssembler avatar Aug 23 '21 15:08 FlatAssembler

VS Code gives the result you want, but Dev-cpp and C++Builder highlighter need line-continuation slashes. ~~I'm not sure this necessarily needs changing.~~ [ Edit : I was forgetting the raw string part. ]

image

pmcgee69 avatar Nov 20 '21 08:11 pmcgee69