Discussion:
syntax highlighting in php and OpenMP Fortran90
dantian
2009-04-24 11:21:51 UTC
Permalink
Dear nedit user,

I'm looking for a nice syntax highlighting for php.
Does one of you has one?

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?
Best,

Eric.
--
/ Be the change you wish to see in the world
/ --- Mahatma Gandhi ---

dantian.free.fr <http://dantian.free.fr>

/gtalk/: aihaike-***@public.gmane.org
/msn/: aihaike-***@public.gmane.org
/skype/: aihaike

/ Please consider the environment before printing this email.
Considérez svp l'environnement avant d'imprimer cet email. /
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Eng Rene
2009-04-24 11:38:02 UTC
Permalink
Hi Eric


I use those from the nedit web page:
ftp://ftp.nedit.org/pub/NEdit/contrib/highlighting/

They work fine for me.


I can't help you with the second problem, though.


Regards,
René


-----Ursprüngliche Nachricht-----
Von: discuss-bounces-***@public.gmane.org [mailto:discuss-bounces-***@public.gmane.org] Im Auftrag von dantian
Gesendet: Freitag, 24. April 2009 13:22
An: discuss-***@public.gmane.org
Betreff: syntax highlighting in php and OpenMP Fortran90

Dear nedit user,

I'm looking for a nice syntax highlighting for php.
Does one of you has one?

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?
Best,

Eric.
--
/ Be the change you wish to see in the world
/ --- Mahatma Gandhi ---

dantian.free.fr <http://dantian.free.fr>

/gtalk/: aihaike-***@public.gmane.org
/msn/: aihaike-***@public.gmane.org
/skype/: aihaike

/ Please consider the environment before printing this email.
Considérez svp l'environnement avant d'imprimer cet email. /
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss

This e-mail may contain confidential and privileged information.
If you are not the intended recipient, please notify the sender and delete
this e-mail immediately.
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Joerg Fischer
2009-04-24 11:59:01 UTC
Permalink
Post by dantian
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 - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
dantian
2009-04-24 12:21:55 UTC
Permalink
It does not work :-( .
Thanks for your help.

Eric.
Post by Joerg Fischer
Post by dantian
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
--
/ Be the change you wish to see in the world
/ --- Mahatma Gandhi ---

dantian.free.fr <http://dantian.free.fr>

/gtalk/: aihaike-***@public.gmane.org
/msn/: aihaike-***@public.gmane.org
/skype/: aihaike

/ Please consider the environment before printing this email.
Considérez svp l'environnement avant d'imprimer cet email. /
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Joerg Fischer
2009-04-24 12:45:11 UTC
Permalink
Post by dantian
It does not work :-( .
Perhaps you forgot to escape the $. The pattern would be !\$omp

Cheers,
Jörg
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
dantian
2009-04-24 12:59:53 UTC
Permalink
Great!!
It works!
Thanks again,
Best,

Eric.
Post by Joerg Fischer
Post by dantian
It does not work :-( .
Perhaps you forgot to escape the $. The pattern would be !\$omp
Cheers,
Jörg
--
/ Be the change you wish to see in the world
/ --- Mahatma Gandhi ---

dantian.free.fr <http://dantian.free.fr>

/gtalk/: aihaike-***@public.gmane.org
/msn/: aihaike-***@public.gmane.org
/skype/: aihaike

/ Please consider the environment before printing this email.
Considérez svp l'environnement avant d'imprimer cet email. /
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Loading...