Skip to content
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

候选框中符号顶字上屏 #822

Open
tyl0622 opened this issue Dec 7, 2023 · 1 comment
Open

候选框中符号顶字上屏 #822

tyl0622 opened this issue Dec 7, 2023 · 1 comment

Comments

@tyl0622
Copy link

tyl0622 commented Dec 7, 2023

操作:在中英文混输时,比如候选框中已有字符输入,此时切换成英文输入符号
期望行为:英文符号接在候选框后
实际行为:目前测试有“+”和“*”两种符号会顶掉候选框中已有的字符,直接上屏

如图,候选框中的字符还没有上屏,其他英文符号可以正常出现在字符后面,"+"号顶掉前面的字符直接上屏了
image

@groverlynn
Copy link
Contributor

punctuation裏面只有單一候選、設置了commit或pair的標點會直接頂字上屏,除非recognizer裏面有匹配的pattern。
要輸入標點符號,那就切換到相應模式去(包括用自定義的代碼)。非ascii模式下默認的多是東亞寬標點,本就不該用於西文比例字符。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants