[code] [textadept] Key Modes

From: Qwerky <mr.qwerky.att.gmail.com>
Date: Mon, 8 Jul 2019 18:19:37 -0600

Hello.  Key bindings provide for key modes which, according to the
documentation, provide a set of key bindings which are executed when
that mode is active, to the exclusion of all other key bindings.

Is it possible to have a mode, whose key bindings simply replace the
same-named bindings while that mode is active, without blocking all
other bindings[1]?

An example would be a rectangular-select mode which, when active, would
replace bindings such as caret-left-extend with
caret-left-rectangular-extend, and so forth; but would not block other
bindings, such as caret-left, line-down, etc. This would be extremely
useful, in the given example, for making selection easier by not having
to hold down the Alt key, and would also free up Alt key combinations
for other functions.

[1] The mode may also provide new bindings which do not exist outside
the mode.

qwerky

-- 
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 Jul 2019 - 20:19:37 EDT

This archive was generated by hypermail 2.2.0 : Tue 09 Jul 2019 - 06:50:29 EDT