Re: [code] Problem with snippets and escaping "%%".

From: Michael Richter <ttmrichter.att.gmail.com>
Date: Thu, 8 Oct 2015 08:55:13 +0800

Thanks!

On 07/10/2015, Mitchell <m.att.foicica.com> wrote:
> Hi,
>
> On Tue, 6 Oct 2015, Mitchell wrote:
>
>> Hi Michael,
>>
>> On Tue, 6 Oct 2015, Michael Richter wrote:
>>
>>> Using latest (8.3) I'm building up a library of snippets for Prolog.
>>> Putting this into my init.lua…
>>>
>>> snippets.prolog = {
>>> mod = "%% ft=prolog\n"
>>> }
>>>
>>> …I get the string "%%" in the output. (I am, of course, expecting
>>> "%".) If I replace the "%%" in the snippet with "%", as expected I
>>> get errors. It seems that %-escaping isn't working.
>>
>> Thanks for the report. I'll fix this soon and let you know.
>
> This is fixed in hg[1] and will be available in tonight's nightly.
>
> Cheers,
> Mitchell
>
> [1]: http://foicica.com/hg/textadept/rev/b692142515db

-- 
"Perhaps people don't believe this, but throughout all of the
discussions of entering China our focus has really been what's best
for the Chinese people. It's not been about our revenue or profit or
whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
-- 
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 Wed 07 Oct 2015 - 20:55:13 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Oct 2015 - 06:46:56 EDT