- Subject: Re: [jed-users] Re: Perl multiline string highlighting?
- From: jed@xxxxxxxxxxx (John E. Davis)
- Date: Thu, 16 Mar 2017 19:57:56 -0400
Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx> wrote:
> Ok, I have added this line in perl.sl after:
>
> define_syntax('"', '"', $1);
>
> But when I edit a perl file, `command` is still not highlighted.
I had forgotten that jed supports 2 string delimiters per syntax
table. I have since made changes that increase that number to 6. See
<http://www.jedsoft.org/snapshots/> for the latest version.
Alternatively, you can give the backtick a character-delimiter syntax,
which will also have the desired effect:
define_syntax('`', '\'', $1);
Also, remove ` from the operator syntax. That is, change
define_syntax("!&*+-/<=>^|~", '+', $1);
to
define_syntax("!&*+-/<=>^|~", '+', $1);
Thanks,
--John
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.
[2017 date index]
[2017 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]