最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

unicode - Dead keys aren't working in Keyman Developer - Stack Overflow

programmeradmin7浏览0评论

I'm trying to add dead keys, but they aren't working.

This example uses the example on the Keyman website:


group(main) using keys
+ [K_BKQUOTE] > '`'
+ [K_E] > 'e'

+ '`' > dk(backquote)
dk(backquote) + 'e' > 'è'

But typing ` then e with the layout makes "`e" rather than "è".

In the debug window, nothing happens in the dead key tab when pressing ` or ` then e.

I'm trying to add dead keys, but they aren't working.

This example uses the example on the Keyman website:


group(main) using keys
+ [K_BKQUOTE] > '`'
+ [K_E] > 'e'

+ '`' > dk(backquote)
dk(backquote) + 'e' > 'è'

But typing ` then e with the layout makes "`e" rather than "è".

In the debug window, nothing happens in the dead key tab when pressing ` or ` then e.

Share Improve this question asked Mar 21 at 1:28 Ær0aÆr0a 112 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

In your example, this rule is applied for the backquote key:

+ [K_BKQUOTE] > '`'

Only the first matching rule in a group will be applied. This means that the deadkey rule is never applied, because [K_BKQUOTE] is the same key as '`' (reference):

+ '`' > dk(backquote)

To options to resolve this, remove the first rule, or if you prefer to use virtual keys to identify your key, remove the second rule and update the first rule to:

+ [K_BKQUOTE] > dk(backquote)

Reference: https://help.keyman/developer/language/guide/rules

发布评论

评论列表(0)

  1. 暂无评论