Home Download Buy Blog Forum Support

C++ namespace and public not highlighted?

C++ namespace and public not highlighted?

Postby Predictability on Tue Dec 25, 2012 10:09 am

I'm sure this has been asked a million time, and I've looked around for some help, but couldn't find any.

Anyway, my problem is the keywords "namespace", and "public" in C++ don't get highlighted, they just stay the default color:

Code: Select all
using namespace std; /* Namespace not colored */

namespace test /* Namespace not colored */
  // code

public class foo; /* Public not highlighted */

Can someone please help me? If you need any more info, ask me and I can try to answer.
Posts: 1
Joined: Tue Dec 25, 2012 10:06 am

Re: C++ namespace and public not highlighted?

Postby pier on Tue Dec 25, 2012 9:05 pm

Have you tried different color themes?

If that solves it, then the problem is in the theme you are using. You could try to add some scope to it... although I don't know what scope would target those keywords.

This is a declaration on a color theme, you would need to add something like that to the theme you are using, but with the right scope.

Code: Select all
            <string>Library class/type</string>
Posts: 95
Joined: Fri Jun 15, 2012 2:47 am

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 18 guests