feat: 격자선 + 활성 줄 (CM6 layer) #13
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
tyange-labs/palim!13
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/modern-editor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
src/editor/gridLines.ts— CM6layer()익스텐션이 세로·가로 격자선을RectangleMarker로 그린다. 크기·원점은 하드코딩이 아니라 CM6 실측에서:칸 폭 =
coordsAtPos(한글)두 지점 x 차, 원점 =coordsAtPos(0), 행 높이 =view.defaultLineHeight.layer.update가 geometry/doc/viewport 변경에 재계산 →폰트 크기·웹폰트 스왑·줌에 전부 따라간다(CSS 하드코딩 그라디언트를 피한 이유).
highlightActiveLine()+ 옅은 밴드(--foreground4%).cm-content를flexGrow:0+width:max-content로 shrink-wrap — 안 하면 활성 줄·격자가 무대 폭 전체(1400px+)로 늘어남
--grid-line토큰 추가 (라이트/다크)docs/grid-editor.md에 격자선 절 + 다음 단계(반각 문자 정렬)Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01MfW22NQxomSVmTAQiQCjQu