Re: [code][textadept] Ctrl+Num*

From: Mitchell <m.att.foicica.com>
Date: Tue, 4 Jun 2019 08:23:22 -0400 (EDT)

Hi Lukas,

On Tue, 4 Jun 2019, Procházka Lukáš Ing. wrote:

> Hello,
>
> the key Ctrl+* (toggle fold) works well when "*" comes from "letter part" of
> the keyboard, not numlock.
>
> Surprisingly for me, it doesn't work with Ctrl+Num*.
>
> (But: Ctrl+Num+ zooms in, Ctrl+Num- zooms out and Ctrl+Num/ resets zoom).
>
> Is there a way to make TA accept numlock keys, too?

Textadept's `keys.KEYSYMS` table, located in *core/keys.lua* contains the identifiers for number pad keys. In your case, you are looking to use 'kpmul', so 'ckpmul' is Ctrl+Num*.

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 Tue 04 Jun 2019 - 08:23:22 EDT

This archive was generated by hypermail 2.2.0 : Wed 05 Jun 2019 - 06:54:40 EDT