C Syntax highlighting and one line comment
Bert Wesarg
bert.wesarg at googlemail.com
Fri Nov 9 17:01:13 CET 2007
On Nov 9, 2007 3:23 PM, Valerio Messina <efa at iol.it> <efa at iol.it> wrote:
> Seems nedit 5.5 C highlight syntax do not recognise the one line comment // as text after // are not italic.
> More if // follow a preprocessor directive, it mantein the attributes of preprocessor code.
>
> Example:
>
> #define JBUFF_PKT_LATE -2 // late packet, out of jitterBuffer
>
> // comment are added to C in ANSI C99 ported from C++95
>
you can try my GNU C99 pattern from the nedit wiki:
http://nedit.hackvalue.nl/niki/index.php/GnuC99SyntaxHighlightingFile
Bert
> Valerio
>
> --
> NEdit Develop mailing list - Develop at nedit.org
> http://www.nedit.org/mailman/listinfo/develop
>
More information about the Develop
mailing list