-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rime_api): get candidate list from index
- Loading branch information
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c587900
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.
讚!還缺一個highlight index的api。
c587900
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.
@osfans 願聞其詳
不熟悉移動設備鍵盤,其實我不太明白這個API用在哪裏
c587900
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.
@lotem 不好意思,剛看到,觸摸屏或者鼠標會用到。就跟上下方向鍵的作用類似。
默認的是第一項高亮,
比如長按後面的某個候選後,就會高亮那個候選、切換當前的編碼提示等,但不要上屏,等按空格或者單擊後再上屏。
當然現在也有方法實現:比如長按第三個選項時,可以發兩次下箭頭的按鍵事件。
c587900
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.
@osfans 謝謝,瞭解了。
不過樓主這個API怎麼用,我還是想不到,
c587900
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.
@lotem 可以輸入高亮選項的編碼,或者朗讀高亮候選項。
先長按高亮,再回車輸入編碼。或者長按直接輸入那一項的編碼。