Open
Conversation
Member
Author
|
ping @lotem |
Member
Author
|
for a possible fix see #1147 |
Member
|
好厲害。我支持。 |
Member
Author
review 一下? |
lotem
requested changes
Mar 9, 2026
Member
Author
|
这个变更影响了不少 navigator 操作的语义,现尝试统一一下各操作的处理。结合 #1147 的变更,一个 span 现在由 4 个坐标定义:
满足 (当 虽然能用,不过感觉不是很优雅,或许直接改 span 定义更好:spans 不是 vertex 的集合,而是点和区间的集合,区间可以被视同一个点。 |
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.
增加
navigator/stop_before_delimiter允許跳轉時停止到分隔符之前。即輸入 ni'hao,按 tab 後直接跳轉到 ni 之後、 ' 之前,允許快速修改爲 nin、ning 等其他音節。
目前有個問題:如果在
'之前選中候選,後面的'會被保留在輸入之中,當作符號輸出。可能這個思路不太可行,可以先討論討論。