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

在线环境中的中文标识符高亮问题 #37

Open
nobodxbodon opened this issue Apr 21, 2021 · 3 comments
Open

在线环境中的中文标识符高亮问题 #37

nobodxbodon opened this issue Apr 21, 2021 · 3 comments

Comments

@nobodxbodon
Copy link

Screen Shot 2021-04-21 at 9 44 32 AM
也许是正则表达匹配未包含中文部分?

@Artoria2e5
Copy link
Collaborator

试着匹配了,但是 CodeMirror 有迷惑行为。https://discuss.codemirror.net/t/some-of-my-simple-mode-unicode-patterns-dont-work-why/3101

@nobodxbodon
Copy link
Author

刚在本地打开 gh-pages 下的 index.html,看起来高亮有效了,不知改动了哪里?
Screen Shot 2021-04-22 at 7 36 13 PM
又试了首页的在线环境也有效。

@Artoria2e5
Copy link
Collaborator

手动 patch 了 codemirror 修的,但是没进 package.json。真的修要等发新版。

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