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

符号选择时如何自定义是否显示半角/全角提示? #126

Open
puttin opened this issue Nov 1, 2016 · 3 comments
Open

符号选择时如何自定义是否显示半角/全角提示? #126

puttin opened this issue Nov 1, 2016 · 3 comments
Assignees

Comments

@puttin
Copy link

puttin commented Nov 1, 2016

punctuator:
  import_preset: symbols

之后打$显示的选项里 半角的¥和全角的¥后面显示的部分没有提示他们是半角还是全角

请问有办法让他们强行显示出来吗?

@lotem
Copy link
Member

lotem commented Nov 2, 2016

目前「全/半角」提示僅處理了 ASCII 範圍內的字符。
其他字符全/半角碼值之間沒有簡單的對應關係,可能需要寫一個轉換表。

一些資料:
https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms
https://zh.wikipedia.org/wiki/%E5%85%A8%E5%BD%A2%E5%92%8C%E5%8D%8A%E5%BD%A2
http://unicode.org/charts/PDF/UFF00.pdf

@puttin
Copy link
Author

puttin commented Nov 3, 2016

可以想象,全部支持工作量就算一部分可以自动化也不容易。
Rime 有没有地方可以配置,让用户自行添加一些转换表性质的?

@lotem
Copy link
Member

lotem commented Nov 5, 2016

其實只有 U+FF00–FFEF 這些吧。把對應的半/全角字符列個表就行了。

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

Successfully merging a pull request may close this issue.

2 participants