- Subject: [jed-users] Re: Perl multiline string highlighting?
- From: Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 15 Mar 2017 15:14:54 +0100
On Mon 2017-03-13 (22:42), John E. Davis wrote:
> Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx> wrote:
> 
> > I would like to see `command` highlighted like strings. How can it be done?
> 
> You can modify perl.sl to declare "`" as a string delimiter.  In the
> part of the file that contains define_syntax statements, add:
> 
>    define_syntax('`', '"', $1);   % string
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.
> 
> Also, if you want multiline strings to be highlighted, change:
> 
>    set_syntax_flags ($1, 0x10|0x80);
> 
> to
> 
>    set_syntax_flags ($1, 0x10);
Ok, this works, thanks!
-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<20170314024200.870B442023C5@xxxxxxxxxxx>
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.
  [2017 date index]
  [2017 thread index]
  
  [Thread Prev] [Thread Next]
      
  [Date Prev] [Date Next]