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

fix: 修复某些场景下中文和英文/数字间插入空格不生效的问题 #130

Merged
merged 12 commits into from
Apr 18, 2024

Conversation

qwertyyb
Copy link
Owner

  1. 中文和英文/数字间插入空格目前采用更可靠的方式,会在插入新字符时尝试获取输入区域中的前一个字符,判断文字是否为中文、英文和数字以决定是否要插入空格。
  2. 此功能仅在中文模式下输入时才会生效,若在英文模式下输入不会自动插入空格。

注意:在中文模式下输入英文和“满四码唯一修行词直接上屏”的配置有一定程度上的冲突,所以建议自动插入空格和满4码唯一上屏的配置不要同时启用

@qwertyyb qwertyyb changed the title fix: 修复某些场景下中文和英文/数字间插入空格不生效的总是 fix: 修复某些场景下中文和英文/数字间插入空格不生效的问题 Apr 18, 2024
@qwertyyb qwertyyb merged commit f959f22 into master Apr 18, 2024
4 checks passed
@qwertyyb qwertyyb deleted the fix/zh-space-cn branch September 9, 2024 07:18
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 this pull request may close these issues.

1 participant