Git Product home page Git Product logo

Comments (6)

 avatar commented on September 27, 2024

似乎是和输入大写字母「J」冲突了,建议用其它组合,我用的是 Control+[

- {accept: 'Control+bracketleft', send: Escape, when: composing}

也好像没有好的解决方法。Shift 和非普通字符键,如 Tab,还是合得来的。

from home.

lotem avatar lotem commented on September 27, 2024

recognizer/patterns: 有一條規則匹配大寫字母開頭的英文單詞
而明月拼音方案裏 recognizerkey_binder 之前

from home.

zaqzrh avatar zaqzrh commented on September 27, 2024

@lotem 不明白怎麼寫,能按一樓寫個例子嗎?

from home.

lotem avatar lotem commented on September 27, 2024

@zaqzrh 只要寫 J 就好,不用 Shift+J——這不是重點
重點是,按鍵處理器是有先後順序的,大寫字母先被 recognizer 匹配到了

from home.

zaqzrh avatar zaqzrh commented on September 27, 2024

@lotem 那一樓例子recognizer的表達式如何寫?

from home.

lotem avatar lotem commented on September 27, 2024

@zaqzrh 寫不出來。因爲這兩個功能是衝突的,無法共存。
要把大寫字母移作他用 ,只能禁止 recognizer 對英文單詞做模式匹配——這是通過 recognizer/import_preset: default 引進的。得把這一項設置拆掉,或者把 recognizer 拆掉。

from home.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.