Author Topic: CodeBlocks Editor Syntax highlighting does not understand .C extenstion  (Read 3994 times)

Offline ramesh

  • Single posting newcomer
  • *
  • Posts: 3
I tried opening a .C file and it didnot show up highlighted in the editor. Changed the extension to .c
and the colors showed up.  Is there any configuration I need to enable so that .C extension is
recognized by the editor?


Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: CodeBlocks Editor Syntax highlighting does not understand .C extenstion
« Reply #1 on: September 11, 2005, 04:21:50 pm »
No, according to this recent thread that's an actual bug, but it's already been fixed in the latest CVS version (though it may not be available from anonymous CVS just yet, it lags behind a couple of hours and the confirmation of the fix was about 45 minutes before this post).
If you don't want to compile from CVS yourself, it'll likely be in the next release (RC2, which has been mentioned to be soon) or Ceniza's next CVS binary snapshot.

Offline ramesh

  • Single posting newcomer
  • *
  • Posts: 3
Re: CodeBlocks Editor Syntax highlighting does not understand .C extenstion
« Reply #2 on: September 11, 2005, 04:36:33 pm »
Wow!! That was a  quick response. Thanks Urxae.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: CodeBlocks Editor Syntax highlighting does not understand .C extenstion
« Reply #3 on: September 11, 2005, 04:50:34 pm »
the confirmation of the fix was about 45 minutes before this post.
No, I just replied in that thread. The actual fix is in CVS since a couple of days :)
Be patient!
This bug will be fixed soon...

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: CodeBlocks Editor Syntax highlighting does not understand .C extenstion
« Reply #4 on: September 11, 2005, 07:29:16 pm »
the confirmation of the fix was about 45 minutes before this post.
No, I just replied in that thread. The actual fix is in CVS since a couple of days :)
But the post was said confirmation, at least to me. I didn't feel like digging through commit logs to find out when exactly it was commited ;). Of course, I could have checked if it Worked For MeTM, but I didn't think of that at the time.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: CodeBlocks Editor Syntax highlighting does not understand .C extenstion
« Reply #5 on: September 11, 2005, 09:13:44 pm »
No problem Urxae. I was just clarifying :)
Be patient!
This bug will be fixed soon...