Code::Blocks Forums

User forums => Help => Topic started by: ramesh on September 11, 2005, 04:03:33 pm

Title: CodeBlocks Editor Syntax highlighting does not understand .C extenstion
Post by: ramesh on September 11, 2005, 04:03:33 pm
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?

Title: Re: CodeBlocks Editor Syntax highlighting does not understand .C extenstion
Post by: Urxae on September 11, 2005, 04:21:50 pm
No, according to this recent thread (http://forums.codeblocks.org/index.php/topic,873.0.html) 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 (http://gda.utp.edu.co/~ceniza/CodeBlocks/).
Title: Re: CodeBlocks Editor Syntax highlighting does not understand .C extenstion
Post by: ramesh on September 11, 2005, 04:36:33 pm
Wow!! That was a  quick response. Thanks Urxae.
Title: Re: CodeBlocks Editor Syntax highlighting does not understand .C extenstion
Post by: mandrav 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 :)
Title: Re: CodeBlocks Editor Syntax highlighting does not understand .C extenstion
Post by: Urxae 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.
Title: Re: CodeBlocks Editor Syntax highlighting does not understand .C extenstion
Post by: mandrav on September 11, 2005, 09:13:44 pm
No problem Urxae. I was just clarifying :)