Re: syntax highlighting in php and OpenMP Fortran90

Joerg Fischer <[email protected]>
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
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
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.