Repository navigation
feat: 登记遗留清尾——宽字符折行 + $EDITOR 引号解析 + ctrl+x ctrl+e 第二键位 - #464
Merged
Merged
Conversation
…策: L=PermissionTextWrap 字符数计量升级显示列宽计量(复用 RuneWidth.OfText 单一数据源——East Asian Width 区段表与 Screen/PromptInputBox/InputBuffer/MarkdownLayout 同源,零新建工具;LineBuffer 嵌套类 StringBuilder+显示宽同步累计免重复测宽;ChunkWord 逐 rune 累计切片+行首保底收 1 rune 防死循环+零宽 rune 跟随基字符同片;ASCII 每字符 1 列时全部判定与旧计量逐数值等价——既有测试零修改通过); M1=ParseEditorCommand 纯函数 Span 手写扫描(首引号读闭合为 exe/残缺引号到串尾整段当 exe/无引号读首空白/余段含引号原样透传 args); M2=ctrl+x 前缀键+ctrl+e 序列触发(前缀态优先劫持,单独 ctrl+e 保持 End() 编辑语义无冲突;HandleCtrlKey 入口捕获复位任何 ctrl 键作废前缀); 主代理 debug+缺陷收尾=M2 自登记缺陷(ctrl+x→普通打字→ctrl+e 意外触发)红测试实证+HandleKeyPress 入口补非 ctrl 键清除前缀守卫转绿
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.
Summary
"C:\Program Files\editor\e.exe" -w不再拆坏Test plan