Syntax Highlighting in Header Files

Technical questions regarding the XTC tools and programming with XMOS.
diltsman
Member++
Posts: 21
Joined: Sun Mar 03, 2013 11:26 pm

Syntax Highlighting in Header Files

Post by diltsman »

I added a .h file to the src directory in a project. I used the default C++ header template. The file opens fine, but all the text is black. Any ideas how to enable syntax highlighting in header files?


diltsman
Member++
Posts: 21
Joined: Sun Mar 03, 2013 11:26 pm

Post by diltsman »

Hmm...I noticed that it had a plain text icon on the tab, so I closed the header tab and reopened the file and highlighting just worked. This is odd.
User avatar
kris
Experienced Member
Posts: 84
Joined: Mon Jan 18, 2010 2:52 pm

Post by kris »

Hi,

This is a known issue in the xTIMEcomposer, and as you said, the current workaround is to
close and reopen the file. The aim is to fix this one for the next release.

Cheers,
Kris.