Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [FEATURE REQUEST] Can we support C++11 highlight?
[FEATURE REQUEST] Can we support C++11 highlight? [message #40203] Wed, 03 July 2013 00:16 Go to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

Nowadays more and more compilers fully support c++11 such as g++ and clang++. Personally, I think it is good time to add c++11 highlight support before next major upp release.

I have enclosed feature code (CodeEditor/Highlight.cpp - Line 250):

static const char *cpp[] = {
		"namespace", "__asm", "else", "struct",
		"enum", "switch", "auto", "__except", "template",
		"explicit", "this",
		"bool", "extern", "mutable", "thread",
		"break", "false", "throw",
		"case", "__fastcall", "true",
		"catch", "__finally", "new", "try",
		"__cdecl", "float", "__try",
		"char", "for", "operator", "typedef",
		"class", "friend", "private", "typeid",
		"const", "goto", "protected", "typename",
		"const_cast", "if", "public", "union",
		"continue", "inline", "register", "unsigned",
		"__declspec", "__inline", "reinterpret_cast", "using",
		"using", "default", "int", "return",
		"delete", "__int8", "short", "__uuidof",
		"dllexport", "__int16", "signed", "virtual",
		"dllimport", "__int32", "sizeof", "void",
		"do", "__int64", "static", "volatile",
		"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
	};


-----------------------------
More information about c++11 keywords you can find on cppreference.com.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Tue, 20 August 2013 14:53]

Report message to a moderator

Re: [FEATURE REQUEST] Can we support C++11 highlight? [message #40640 is a reply to message #40203] Sun, 25 August 2013 10:12 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Applied, thanks.

Mirek
Previous Topic: [BUG & Patch] TheIDE under POSIX dosen't open directories containing spaces.
Next Topic: [BUG & PATCH] InsertColorDlg should respect cancel and system close window button.
Goto Forum:
  


Current Time: Fri Mar 29 12:07:47 CET 2024

Total time taken to generate the page: 0.00989 seconds