syntax highlighting in php and OpenMP Fortran90

Joerg Fischer jf505 at gmx.de
Fri Apr 24 13:59:01 CEST 2009


dantian wrote:

> I'm also trying to apply a special highlight to the openmp part if 
> Fortran90 code but it seems to me that there is conflict between the 
> comments string "! ..."  and openmp string "!$omp ...."
> How do you deal with that?

>From memory, simply place the pattern for the openmp string before the
one for the comments in the Patterns list, see the Syntax Highlighting
Patterns menu. For instance, place it directly after New. The patterns
that come first take precedence.

Cheers,
Jörg


More information about the Discuss mailing list