GNOME Bugzilla – Bug 766078
C++11 >= support for syntax highlighting
Last modified: 2021-07-05 11:01:52 UTC
Related: https://bugzilla.gnome.org/show_bug.cgi?id=691661 However there is more to C++11, C++14 than new keywords, so not all of issues were resolved: off the top of my head, these features may need additional support from syntax highlighting: - raw string literal support - user-defined literals - C++14's digit separators (`int x = 1000'000'000;`) This snippet added to `cpp.lang` fixed the immediate issue with raw string literals I had at https://github.com/cppit/jucipp/issues/188, but I have no way of checking whether it didn't break anything else. <context id="raw-string" style-ref="raw-string" end-at-line-end="false" class="string" class-disabled="no-spell-check"> <start>R"</start> <end>"</end> <include> <context ref="printf"/> </include> </context>
Also from literals, there are unicode string literals (`u8"aaaa"`, `U"aaaa"` and `u"aaaa"`), and binary integral literals (`0b1101111`).
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/ Thank you for your understanding and your help.