- Subject: Re: special syntax highlighting
- From: Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 21 Jul 2009 01:35:54 +0200
On Mon 2009-07-20 (20:30), Ulli Horlacher wrote:
> On Mon 2009-07-20 (12:29), Swithun Crowe wrote:
>
> > define_syntax('"', '"', $1); % string
> >
> > You could define » as a string starter, like in the last 2 lines.
>
>
> define_syntax('»', '"', $1); % string
>
> This does not work. Lines starting with » are not highlighted like they
> are with ' or "
It does not work if there are already the standard definitions:
define_syntax('\'', '"', $1); % string
define_syntax('"', '"', $1); % string
when I comment them out (with %) jed accepts the line
define_syntax('»', '"', $1); % string
This is really strange!
But it does not help: goto_match fails here also, when there is only one »
in a line. This is an dead end.
--
Ullrich Horlacher Server- und Arbeitsplatzsysteme
Rechenzentrum E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx
Universitaet Stuttgart Tel: ++49-711-685-65868
Allmandring 30 Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2009 date index]
[2009 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]