Re: [code][textadept] highlightig template strings in javascript

From: Heck Fy <shitpoet.att.gmail.com>
Date: Fri, 18 Mar 2016 15:51:09 +0300

also noticed that `of` keyword is not highlighted (also a relatively
new keyword in javascript):

    for (let el of array) {}

diff:

   35c35
   < 'interface', 'let', 'long', 'native', 'new', 'null', 'package',
'private',
   ---
> 'interface', 'let', 'long', 'native', 'new', 'null', 'of',
'package', 'private',

On 3/18/16, Mitchell <m.att.foicica.com> wrote:
> Hi Heck,
>
> On Fri, 18 Mar 2016, Heck Fy wrote:
>
>> hello!
>>
>> old - simple strings:
>>
>> 'aaa'
>> "bbb"
>>
>> new - added by the latest standard - template strings
>>
>> `hello, ${name}`
>>
>> diff:
>>
>> 20a21
>> > local template_str = l.delimited_range('`')
>> 23c24
>> < local string = token(l.STRING, sq_str + dq_str) + token(l.REGEX,
>> regex_str)
>> ---
>> > local string = token(l.STRING, sq_str + dq_str + template_str) +
>> token(l.REGEX, regex_str)
>
> Thanks! Committed.
>
> 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.
>
>

-- 
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 18 Mar 2016 - 08:51:09 EDT

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2016 - 06:49:42 EDT