Deferred from the v1 code-grade editor scope — see #102 and codeops/features/code-editor/shared-understanding.md (decision A).
Why deferred
Word-wrap breaks the editor's 1-buffer-line = 1-screen-row invariant. Today drawEditor walks one buffer line per screen row, vertical scroll counts buffer lines, editorMousePtr maps a screen row to a buffer line, and the gutter's line numbers align 1:1. Soft-wrap makes one logical line span N rows, changing scroll math, lineMove, mouse-hit mapping, caret up/down (visual vs logical line), the line:col indicator, and gutter alignment. The TV editor excluded it for the same reason.
Scope (rough)
- Visual-vs-logical line model; wrap layout; caret up/down over wrapped lines.
- Gutter line-number alignment for wrapped rows.
- Toggle + wrap-column policy.
Its own RD; revisit after the v1 code editor ships.
Deferred from the v1 code-grade editor scope — see #102 and
codeops/features/code-editor/shared-understanding.md(decision A).Why deferred
Word-wrap breaks the editor's 1-buffer-line = 1-screen-row invariant. Today
drawEditorwalks one buffer line per screen row, vertical scroll counts buffer lines,editorMousePtrmaps a screen row to a buffer line, and the gutter's line numbers align 1:1. Soft-wrap makes one logical line span N rows, changing scroll math,lineMove, mouse-hit mapping, caret up/down (visual vs logical line), theline:colindicator, and gutter alignment. The TV editor excluded it for the same reason.Scope (rough)
Its own RD; revisit after the v1 code editor ships.