Re: [code][textadept] layout invariant shortcuts

From: Mitchell <m.att.foicica.com>
Date: Mon, 12 Sep 2016 13:43:47 -0400 (EDT)

Hi Heck,

On Mon, 12 Sep 2016, Heck Fy wrote:

> hello!
>
> the problem:
> ctrl+z is ctrl+я in russian keyboard layout, so when i try to undo
> (typing in russian layout) nothing happens
>
> i found a workaround:
>
> [snip]
>
> but it is language dependent .
>
> i suggest to add language agnostic fix to `s_keypress` function in
> `textaadept.c`:
>
> [snip]
>
> something like this, i tested to compile ta 8.6 with this change, and
> it works well ]

Thanks! I'll commit this and it will be in the next nightly build.

> may be it is more reliable to do even this --
> https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20131118/1148648.html
> - but it may be redundant in most cases. i know at least that on my
> system latin group is always equals to zero.

I prefer the simple solution you provided. We can tweak it as necessary if
any other problems pop up.

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 12 Sep 2016 - 13:43:47 EDT

This archive was generated by hypermail 2.2.0 : Tue 13 Sep 2016 - 06:31:50 EDT