Re: [code] [textadept] FR: Select Snippet to auto-OK

From: Mitchell <m.att.foicica.com>
Date: Fri, 19 Jun 2020 09:29:14 -0400 (EDT)

Hi Lukas,

On Fri, 19 Jun 2020, Procházka Lukáš Ing. wrote:

> Hi Michell,
>
> would it be possible to add such a feature to "Select Snippet" dialog that
> the dialog performs "OK" once there is just one snippet which meets the
> trigger typed in the edit box in the top?
>
> - This would work almost like key chains, with possibility to see what text
> is to be "sent" to the editor.
> (So unlike key-chains - user doesn't need to keep in mind key chains which
> are not used so frequently - he can see them in the "Select Snippet" dialog.)
>
> - Also it might depend on a option switch, maybe in the dialog - see the pic.

Do you mean that you start with a list of snippets, start typing to filter, and then once there is only one option available, immediately insert it? If so, that is not possible, and probably not desirable in case you make a typo and wind up with something completely unexpected.

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 Jun 2020 - 09:29:14 EDT

This archive was generated by hypermail 2.2.0 : Sat 20 Jun 2020 - 06:26:35 EDT