Repository navigation
feat: 제목의 굵게·크기를 글자 속성으로 — WinUI 포트와 같은 모델 - #63
Merged
Merged
Conversation
centwon
force-pushed
the
feat/heading-on-runs
branch
from
October 2, 2026 07:14
cd8071e to
e96cc7a
Compare
두 에디터가 같은 파일을 다르게 보던 유일한 곳. 포트(2026-09-13~)는 제목 서식을 run에 쓰고 "HeadingFormat": 1로 표시하는데, 상류는 렌더러가 제목을 강제로 굵게·제목 크기로 그렸다. 포트에서 굵게를 끈 제목이 상류에선 굵게 보였고, 상류가 저장하면 표식이 빠져 포트가 다시 열 때 굵게를 실제로 되살렸다. - HeadingStyle: 제목 적용 시(같은 수준 재적용 포함) 모든 run에 굵게·수준 크기, 본문 복귀는 둘 다 뗌 - 표식 없는 옛 문서는 에디터가 받을 때 한 번 변환(Materialize), 표식은 Clone·저장으로 이어짐 - 렌더러·캐럿 보고·캐럿 높이·리스트 마커의 강제 규칙 제거, Ctrl+B가 제목에서 토글됨 - Enter 꼬리는 본문 서식, 빈 제목 타이핑은 제목 서식, 블록 삽입용 분할은 꼬리가 제목 서식 그대로(상류 전용 규칙) - HTML: 굵지 않은 제목 글자 font-weight:normal 출력·읽기, 제목 안 10pt 명시. RTF: 강제 \b 제거 - 툴바: 이미 선택된 수준을 다시 고르면 재적용(GUI 확인 필요) - HeadingStyleTests 13개(포트 12 + 블록 삽입), 기존 3개를 새 규칙으로. 반증 15/15 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
centwon
force-pushed
the
feat/heading-on-runs
branch
from
October 2, 2026 07:16
e96cc7a to
4eac593
Compare
centwon
added a commit
that referenced
this pull request
Oct 2, 2026
Co-authored-by: Claude Opus 5.5 <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.
요약
상류와 포트가 같은 파일을 다르게 보던 유일한 곳인 제목 서식을 포트 모델로 맞춥니다. #62 위에 쌓은 PR이라 #62를 먼저 머지해야 합니다.
문제
"HeadingFormat": 1로 표시합니다.변경 (⚠ 동작 변경)
HeadingStyle: 제목을 적용하면(같은 수준 재적용 포함) 모든 run에 굵게와 수준별 크기를 씁니다. 본문으로 되돌리면 둘 다 뗍니다.Materialize).font-weight:normal로 쓰고, 리더도font-weight:normal을 읽습니다(Google Docs 붙여넣기가 전부 굵게 들어오던 문제의 원인). 제목 안의 10pt는 크기를 명시합니다.\b를 없앴습니다."HeadingFormat":1을 넣었습니다. 포트도 같은 파일입니다.검증
HeadingStyleTests13개를 추가했습니다(포트 12개 + 블록 삽입 1개). 기존 테스트 3개는 새 규칙에 맞게 고쳤습니다.🤖 Generated with Claude Code