Skip to content

[1254] 在同类标题结构中插入标题时先移出结构并回车 - #4470

Merged
da-liii merged 2 commits into
mainfrom
da/1254/section_insert
Sep 2, 2026
Merged

[1254] 在同类标题结构中插入标题时先移出结构并回车#4470
da-liii merged 2 commits into
mainfrom
da/1254/section_insert

Conversation

@da-liii

@da-liii da-liii commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

详见 devel/1254.md

改动内容

  1. smart-insert-heading 中检测光标是否处于同类标题结构中,若处于标题结构内部,先移出该结构并回车,再插入新标题;
  2. 新增集成测试 TeXmacs/tests/1254.scm

@PinkMagicFly PinkMagicFly left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@da-liii
da-liii merged commit 6787602 into main Sep 2, 2026
5 checks passed
@da-liii
da-liii deleted the da/1254/section_insert branch September 2, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants