After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691661 - C++ 11 syntax highlighting
C++ 11 syntax highlighting
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
3.7.x
Other All
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2013-01-13 15:49 UTC by Kyrylo V. Polezhaiev
Modified: 2016-05-10 16:41 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
alignas, alignof, final, noexcept, override, thread_local added as keywords (4.85 KB, application/octet-stream)
2013-01-13 15:49 UTC, Kyrylo V. Polezhaiev
  Details
Patch for data/language-specs/cpp.lang (1.61 KB, patch)
2013-01-13 15:52 UTC, Kyrylo V. Polezhaiev
none Details | Review
C++11 syntax for GtkSourceView (2.01 KB, patch)
2013-04-29 15:20 UTC, Kyrylo V. Polezhaiev
committed Details | Review

Description Kyrylo V. Polezhaiev 2013-01-13 15:49:03 UTC
Created attachment 233388 [details]
alignas, alignof, final, noexcept, override, thread_local added as keywords

Some keywords and identifiers with special meaning that were added to C++ (alignas, alignof, final, noexcept, override, thread_local) aren't present in data/language-specs/cpp.lang.
But they should be highlighted.
Comment 1 Kyrylo V. Polezhaiev 2013-01-13 15:52:02 UTC
Created attachment 233389 [details] [review]
Patch for data/language-specs/cpp.lang
Comment 2 Kyrylo V. Polezhaiev 2013-04-29 14:48:23 UTC
Nobody cares?
Comment 3 Ignacio Casal Quinteiro (nacho) 2013-04-29 14:50:10 UTC
Sorry Kyrylo, too many bugs and we just missed the update. Can you please provide a git format-patch so we can give you credit for the patch?
Comment 4 Kyrylo V. Polezhaiev 2013-04-29 14:52:23 UTC
Okay.
Comment 5 Kyrylo V. Polezhaiev 2013-04-29 15:20:45 UTC
Created attachment 242814 [details] [review]
C++11 syntax for GtkSourceView

C++ keywords and special identifiers added
Comment 6 Ignacio Casal Quinteiro (nacho) 2013-04-29 15:45:48 UTC
Review of attachment 242814 [details] [review]:

Patch looks good to me.
Comment 7 Sébastien Wilmet 2016-05-10 16:41:13 UTC
See bug #766078, C++ 11 is not completely supported apparently.