Re: [code] [textadept] bug in perl lexer (in textadept 8.6)

From: Mitchell <m.att.foicica.com>
Date: Fri, 9 Sep 2016 12:51:25 -0400 (EDT)

Hi Ivan,

On Fri, 9 Sep 2016, Ivan Baidakou wrote:

> Hello,
>
> Please, fix the bug in perl lexer [1]. It does the wrong hilighting,
> i.e. assumign that the instuction
>
> $log->info(...)
>
> after HEREDOC syntax is a string, while this is regular perl code. The
> sample code can be taken at [2].

Thanks for the report. Unfortunately, this is anything but trivial to fix
and very few editors get it right. Perl has a number of quirks that are
difficult to handle correctly without a proper parser (which would be
too slow).

I do not plan on trying to fix this, but patches are welcome.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Fri 09 Sep 2016 - 12:51:25 EDT

This archive was generated by hypermail 2.2.0 : Sat 10 Sep 2016 - 06:54:37 EDT