Open
Conversation
|和[的一些错误|和[的一些显示错误
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
201_96 修复tabcyc 中
|和[的一些错误如何测试
|、[(注:'|'还有一项未被渲染出来,需要之后更新<barsuchthat>字体)2026/03/12 修复tabcyc 中
|和[的一些错误What
lambda-to-symbol中补充了math-separator分支,把函数型绑定反解成"<mid-...>"形式的 completion 字符串。math_font_rep::search_font中放宽了 fallback 字符检查,允许[、]、|作为普通候选字符串继续走数学字体渲染流程,而不是直接落进error_font。Why
lambda-to-symbol只处理大运算符、prime 和括号对,没有处理math-separator,导致 middle separator 在 Tab 补全里缺少专门的显示形式。[、]、|这些字符串如果走到math_font的错误分支,会被error_font强制画成红色,popup 的显示会误导调试。How
math-separator的 completion 名称通过字符串拼接得到:"<mid-" + sep + ">""<nobracket>"特判为"<mid-.>"math_font.cpp中把[、]、|加入允许字符集合,避免它们在补全 popup 中被当成非法数学字体输入。