Repository navigation
[6027] 实现大纲侧边栏默认展开与交互行为 - #4739
Merged
Merged
Conversation
- toc-notify 的 DRD 声明改为 options(2,1,DETAILED),修复 BIFORM 下索引越界导致的启动崩溃 - 为 toc-notify 增加 raw 参数并经 toc_box/renderer 透传,PDF 书签使用章节原始名,避免 "Chapter 1 Chapter 1" 重复 - 修正 section-base.stem 中 paragraph-toc/subparagraph-toc 多余的右括号 Co-Authored-By: Claude Code <[email protected]>
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.
概述
实现大纲侧边栏默认展开与交互行为:
补充修复
toc-notify增加raw参数,经toc_box→ renderer →pdf_hummus_renderer透传章节原始名,导出书签不再出现Chapter 1 Chapter 1这类标题重复(std-automatic.stem、section-base.stem、chinese.stem);toc-notify的 DRD 声明由fixed (3, 3, BIFORM)改为options (2, 1, DETAILED),避免string_type (2)索引越界抛出未捕获异常;section-base.stem中paragraph-toc/subparagraph-toc的括号,避免样式包解析中断。验证结果:10 个 6027 测试文档导出 PDF 后书签标题无重复,展开/折叠状态与规则一致;
6027.scm集成测试 30 checks 全过;qt_outline_widget_test21 passed。🤖 Generated with Claude Code