Home Download Buy Blog Forum Support

ST3: Broken C++ highlighting after friend declaration

ST3: Broken C++ highlighting after friend declaration

Postby assassini on Sun Feb 10, 2013 9:36 am

Edit: Fixed as of build 3013.

This wasn't happening in Sublime Text 2, but it appeared in the first Sublime Text 3 build. It's not the theme or the color scheme or anything since this happens with a clean installation too. It's not Linux specific either since it also seems to happen on Windows.

Image

Everything stops being highlighted after the friend declaration. It seems to work fine though if you take out the "class" or the namespace part of it though. Here's some code that you can reproduce it with.

Code: Select all
namespace test
{
   class test
   {
      friend class something::something;
      
      public:
         
         test();
         ~test();
         
         void doSomething();
   };
}
Last edited by assassini on Sun Feb 24, 2013 4:19 pm, edited 1 time in total.
assassini
 
Posts: 4
Joined: Sun Feb 10, 2013 9:24 am

Re: ST3: Broken C++ highlighting after friend declaration

Postby assassini on Sun Feb 17, 2013 7:20 am

Bump.
assassini
 
Posts: 4
Joined: Sun Feb 10, 2013 9:24 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 12 guests