Author Topic: How to change highliting fo .cl files?  (Read 3413 times)

Offline wever

  • Multiple posting newcomer
  • *
  • Posts: 49
How to change highliting fo .cl files?
« on: January 05, 2015, 02:59:39 pm »
Hi,
I need to use highlighting for C source codes on .cl files. How to do it? Now I have white background and black color of font. How to enable it highlighting for non standard file extensions?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: How to change highliting fo .cl files?
« Reply #1 on: January 05, 2015, 03:07:16 pm »
Hi,
I need to use highlighting for C source codes on .cl files. How to do it? Now I have white background and black color of font. How to enable it highlighting for non standard file extensions?

This is a guess; add it to the list of source files.

Settings -> Editor
Left Pane: Syntax Highlighting
Make sure the correct Language is selected in "Syntax Highlighting for"
Click on "File Masks.."

I believe the settings are saved in the CB Global config files.

Tim S.
« Last Edit: January 05, 2015, 03:10:57 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline wever

  • Multiple posting newcomer
  • *
  • Posts: 49
Re: How to change highliting fo .cl files?
« Reply #2 on: January 05, 2015, 03:16:49 pm »
It works. Thank you.