From ac7dadcc6ddb45f1aff7ed1c98e33e7e420f802d Mon Sep 17 00:00:00 2001 From: cxl Date: Sun, 25 Aug 2013 08:11:37 +0000 Subject: [PATCH] ide: C++ 11 keywords highlighting (thanks Klugier) git-svn-id: svn://ultimatepp.org/upp/trunk@6258 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CodeEditor/Highlight.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/uppsrc/CodeEditor/Highlight.cpp b/uppsrc/CodeEditor/Highlight.cpp index 4ff7857ba..a3a5bae6b 100644 --- a/uppsrc/CodeEditor/Highlight.cpp +++ b/uppsrc/CodeEditor/Highlight.cpp @@ -270,6 +270,10 @@ void CodeEditor::InitKeywords() "double", "__leave", "static_cast", "dynamic_cast", "long", "__stdcall", "while", "force_inline", + // C++11 + "char16_t", "char32_t", "constexpr", "decltype", + "noexcept", "nullptr", "static_assert", + "override", "final", NULL }; static const char *cs[] = {