Fix attempt 1: sync editor gutter with textarea scroll #263

Merged
fen merged 1 commits from fix-259 into dev 2026-09-17 19:35:14 +00:00
Collaborator

Ref #259. The /new editor gutter is a sibling div of the scrolling textarea, so once the text outgrew the editor the line numbers stayed put. new.js now syncs gutter.scrollTop to the textarea on its scroll event.

Verified on a local build: 60-line textarea scrolled to 500px, gutter scrollTop = 500 (diff 0) via CDP probe. go build + go test pass.

Ref #259. The /new editor gutter is a sibling div of the scrolling textarea, so once the text outgrew the editor the line numbers stayed put. new.js now syncs gutter.scrollTop to the textarea on its scroll event. Verified on a local build: 60-line textarea scrolled to 500px, gutter scrollTop = 500 (diff 0) via CDP probe. go build + go test pass.
fen added 1 commit 2026-09-17 19:30:14 +00:00
new page: sync editor gutter with textarea scroll (#259)
CI / docker (pull_request) Skipped
CI / test (pull_request) Successful in 22s
ee0cd7dcbd
fen merged commit cdf9136866 into dev 2026-09-17 19:35:14 +00:00
Sign in to join this conversation.