pro*c syntax highlighting

Syntax highlighting, code folding, brace matching, code indenting, and function list

pro*c syntax highlighting

Postby petem1030 » Fri Apr 29, 2005 1:33 pm

I have a C program with SQL in it. This would be a situation where my word file contains a C_LANG section and a SQL section. Is there something I need to do to have SQL highlighted within a C program?
User avatar
petem1030
Newbie
 
Posts: 1
Joined: Fri Mar 04, 2005 12:00 am

Re: pro*c syntax highlighting

Postby Mofi » Thu Sep 07, 2006 12:55 pm

The multi-language syntax highlighting is only for HTML files with its languages (Javascript, PHP, ASP, CSS, ...).

You can only add the keywords for SQL to 1 or more color section of the C language definition and use Line Comment Alt = and Block Comment On Alt = and Block Comment Off Alt = definitions to specify the SQL comments also for being detected in C files.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4054
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to Syntax Highlighting