Re: [code] Re: [textadept] Events based on keys

From: Mitchell <>
Date: Sat, 3 May 2014 18:24:16 -0400 (EDT)

Hi Richard,

On Thu, 1 May 2014, Richard Philips wrote:

> Hi Mitchell,
> It is not so easy to explain what I want to accomplish.
> In fact, what I want to do is something specific for one keychain (that is
> easily done) and something for ALL OTHER keychains.
> But how do I describe all other keychains ?
> In the example:
> As long as the keychain is CTRL + SHIFT + DEL, I accumulate all erased data
> From the moment another keychain is entered, the accumulation process
> stops.
> I know exactly what I have to do, the only thing missing is catching the
> event that keychain is NOT ctrl + shift + del
> In fact, the example I am describing here is something from the Emacs world
> (they call it the kill ring).
> I hope I make it somewhat clearer :-)

Unfortunately I'm still not completely understanding the question :(
However, `_G.keys.keychain` is readable, so accessing it from an
`events.KEYPRESS` event (connected with index 1) may be of use to you.
You'd be able to check it for a 'csdel' key (or lack of one).


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sat 03 May 2014 - 18:24:16 EDT

This archive was generated by hypermail 2.2.0 : Sun 04 May 2014 - 06:43:00 EDT