[0172] 移除有序列表全局 item-nr 设置按钮#3529
Closed
da-liii wants to merge 3 commits into
Closed
Conversation
对于有序列表,全局的 item-nr 设置按钮没有意义, 应当仅保留在本地渲染选项中。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 将 item-nr 加入 inhibit-global-table,使其不再出现在 全局偏好设置(扳手图标)菜单中。 - 修改 rendering-parameters-merge,改为通过 search-parameters 判断是否需要将 item-nr 追加到本地渲染参数,确保该设置 仍能在本地渲染选项(主题图标)中正常显示和修改。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
恢复 rendering-parameters-merge 的原始逻辑,改为在 standard-parameters 中为 itemize 和 enumerate 显式声明 item-nr,确保局部渲染菜单仍能显示该设置项。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
摘要
对于有序列表(enumerate)和无序列表(itemize),
item-nr是用于控制列表项起始编号的局部参数。该参数出现在全局偏好设置(扳手图标)中没有意义,应当仅保留在本地渲染选项(主题图标)中。改动
"item-nr"加入inhibit-global-table,阻止它在全局偏好菜单中显示。rendering-parameters-merge,改为直接通过search-parameters判断是否需要将item-nr追加到本地渲染参数,确保该设置仍能在本地渲染选项中正常显示和修改。测试计划
Item nrItem nr且可正常修改🤖 Generated with Claude Code