syntax highlighting

Ben Elliston bje@air.net.au
Fri Oct 13 17:27:00 GMT 2000


   Can you explain the relationship between what is in the
   share/etc/sn_prop.cfg file specifically the -high_cmd argument for
   adding parsers and the info you gave me below? I have entered my new
   parser in the -brow_cmd and also the -high_cmd

The -high_cmd is no longer applicable.  In fact, it needs to be
removed.  Once upon a time, syntax highlighting was done by an external
program.

   I added hooks to the highlight.c stuff you mentioned below but this
   code is never called for my parser's language.  I guess I don't see
   the connection between my flex based parser and these other flex files
   for syntax highlighting. Maybe I need something else for the -high_cmd
   field.

Can you post a diff for your changes to highlight.c?

Ben



More information about the Sourcenav mailing list