Skip to content

Conversation

@angelosilvestre
Copy link
Collaborator

Currently, the line number indicator scroll horizontally with the source code.

This PR replaces the InteractiveViewer with a new CodeScroller widget, that uses Flutter's 2d scrolling API's. Now, the line number indicator scrolls vertically, but it's horizontally pinned.

Screen.Recording.2024-12-16.at.10.38.08.mov

@angelosilvestre
Copy link
Collaborator Author

cc @suragch @rutvik110

Copy link
Contributor

@matthew-carroll matthew-carroll left a comment

Choose a reason for hiding this comment

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

LGTM - Gonna try to merge this work with what I've been doing with line layout on my end.

@matthew-carroll matthew-carroll merged commit 2a76b03 into main Jan 9, 2025
1 check passed
@angelosilvestre angelosilvestre deleted the scrolling_update branch January 9, 2025 22:22
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.

4 participants