We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
修改 cand.comment 的方法
cand:get_genuine().comment = foo
用在 cand.text 上不正常,只有标点符号起作用了。
The text was updated successfully, but these errors were encountered:
修改 text 做不到,因为这个属性是只读的(只有 SimpleCandidate 除外)。这是 librime 核心库的限制。
text
SimpleCandidate
要达到修改的效果,只能在 filter 中重建一个新的 Candidate 。 但 lua 现在只支持建 SimpleCandidate,所以这么干可能会使该项的调频、组词等功能失效。
Candidate
Sorry, something went wrong.
谢谢,明白了。
No branches or pull requests
修改 cand.comment 的方法
用在 cand.text 上不正常,只有标点符号起作用了。
The text was updated successfully, but these errors were encountered: