[code] [textadept] Am I executing a snippet ?

From: Richard Philips <richard.philips.att.gmail.com>
Date: Mon, 27 May 2013 15:31:45 +0200


is there a non-destructive way to infer in my Lua code if it is executing
in the context of a snippet ?

The _M.textadept.snippets._previous function has that property but is
It is based on a local table `snippet_stack`.



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 Mon 27 May 2013 - 09:31:45 EDT

This archive was generated by hypermail 2.2.0 : Tue 28 May 2013 - 06:44:54 EDT