Skip to content

Fix gutter lag - #3094

Merged
nesbox merged 3 commits into
nesbox:mainfrom
swoolcock:fix-gutter-lag
Oct 17, 2026
Merged

nesbox merged 3 commits into
nesbox:mainfrom
swoolcock:fix-gutter-lag

Conversation

@swoolcock

Copy link
Copy Markdown
Contributor
  • Caches the line count when the editor updates
  • Always start gutter calculations from the first visible character rather than the start of the source
  • Fix rendering line number for every character on the line
  • Break early once we've gone outside the screen height

@nesbox nesbox left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@nesbox
nesbox merged commit c9de5c4 into nesbox:main Oct 17, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants