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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.