Re: [code] Re: [textadept] Thoughts about custom key maps for command entry input?

From: Mitchell <m.att.foicica.com>
Date: Mon, 8 Apr 2013 00:04:31 -0400 (EDT)

Hi Pete,

On Sun, 7 Apr 2013, Pete Kazmier wrote:

> I meant to ask one more thing re: escaping out of the command entry box.
> KEYSYMS['7'] is mapped to ESC in core/keys.lua (7 is usually Ctl-G), which
> is fine as I like Ctl-G to be an exit sequence coming from emacs. However,
> what I don't understand, is why it doesn't actually close the command entry
> box? Any ideas?

I don't think CDK recognizes ^G as escape, that or maybe I'm not letting
it interpret that key sequence. textadept.c's entry_keypress function is
probably worth stepping into with a debugger to see what happens with ^G.

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 Mon 08 Apr 2013 - 00:04:31 EDT

This archive was generated by hypermail 2.2.0 : Mon 08 Apr 2013 - 06:37:06 EDT