C99 highlighting

A.V.Kuznetsov kuzn at umps.mephi.ru
Wed Nov 28 20:30:17 CET 2007


On Wed, 28 Nov 2007 14:30:31 +0100
Tony Balinski <ajbj at free.fr> wrote:

> Quoting "A.V.Kuznetsov" <kuzn at umps.mephi.ru>:
> 
> > Hi,
> >
> > I made new set of highlighting patterns for C99.
> > Patterns and samples of highlighting are presented at Niki
> >
> > http://nedit.hackvalue.nl/niki/index.php/C99SyntaxHighlighting
> 
> It would have been nicer to have used decent picks from the built-in styles
> which give "functional" names to different highlighting, rather than colors.
> Still, having all the recognition regexes is great.
> 
> Tony
> -- 

Tony, thank you for the comment.

I prefer "decoration" names instead the "functional" ones
since the last can lead to mishmash. See for, example,
list of duplicates extracted from built-in "functional"
highlighting styles.

	Operator:dark blue:Bold\n\
	Bracket:dark blue:Bold\n\

	Preprocessor:RoyalBlue4:Plain\n\
	Identifier1:RoyalBlue4:Plain\n\
	Text Arg2:RoyalBlue4:Plain\n\

	String:darkGreen:Plain\n\
	Character Const:darkGreen:Plain\n\
	Numeric Const:darkGreen:Plain\n\
	LaTeX Math:darkGreen:Plain\n\

I think, that the pattern set must be extended by errors patterns.
Unfortunately, I cannot write such a patterns as have no
programming practice.

Alexey


More information about the Discuss mailing list