Re: [code] [textadept] Key Modes

From: Mitchell <m.att.foicica.com>
Date: Fri, 19 Apr 2013 13:11:31 -0400 (Eastern Daylight Time)

Chris,

On Fri, 19 Apr 2013, Chris Emerson wrote:

> Hi Mitchell,
>
> On Fri, Apr 12, 2013 at 12:26:19PM -0400, Mitchell wrote:
>> Textadept hg[1] now has key modes.
>
> Great! That simplifies my key bindings.
>
> One detail that would be nice to tweak in command_entry:
>
>> (By default, `Esc` is pre-defined to exit any command entry mode.)
>
> Unfortunately this also forces keys.MODE to nil, but I'd like to control
> which mode it goes to.

I don't have an issue committing this, but because of how CDK works, if
the key is not Esc, the command entry will not hide. If you can patch
either CDK or ta to behave properly, that would be the best in terms of
complementing the patch.

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 Fri 19 Apr 2013 - 13:11:31 EDT

This archive was generated by hypermail 2.2.0 : Sat 20 Apr 2013 - 06:41:51 EDT