-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recognizer input : insert ch in caret_pos #692
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: shewer <[email protected]>
Signed-off-by: shewer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. LGTM
Question: does it work as expected after the fix? After |
原來的 recoginzer ab^cdz
-- matcher 使用 comp.input librime/src/rime/gear/matcher.cc Line 26 in bcb3555
這讓又產生一個疑問 recognizer patters 主要工作是確認 從 Compose() 以後的 carte_pos 後的字串基本上是不管的 |
我有點兒腦霧。理不清楚。不要緊以後再看。 |
一般正常輸入時 的確是 在 context.input 後面加上 字元,比較pattern |
Pull request
Issue tracker
Fixes will automatically close the related issue
Fixes #
caret_pos 不在字尾時
ab^cd key : 'z' input = abcdz <--- 錯誤
ab^cd key: 'z' input = abzcd < -- 修正
Feature
Describe feature of pull request
Unit test
Manual test
Code Review
Additional Info