Re: [code] snippet problem. New to lua and textadept.

From: Mitchell <m.att.foicica.com>
Date: Wed, 22 Feb 2017 21:46:44 -0500 (EST)

Hi Richard,

On Wed, 22 Feb 2017, Richard Lemieux wrote:

> Hi,
>
> I am trying to get some familiarity with TextAdept and Lua so please forgive
> me if that was already addressed elsewhere. I searched the net and read the
> doc before asking.
>
> The following snippet does not output the result of the arithmetic operation
> (3). Is it to be expected? I got this snippet example from Mitchell's book
> on TextAdept.
>
> snippets['c'] = '%1(1) + %2(2) = %3<%1 + %2>'
>
> The output looks like
>
> 1 + 2 =
>
> Other examples work as expected. I tried both on Linux and Windows7.
>
> [snip]
>
> Thanks for any clue as to why the snippet 'c' does not do the computation.

Thanks for your e-mail. At first glance this looks like a bug. I will have
to dig into it more to confirm though. It is also possible that
placeholders within executable code are no longer supported.

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 Wed 22 Feb 2017 - 21:46:44 EST

This archive was generated by hypermail 2.2.0 : Thu 23 Feb 2017 - 06:51:39 EST