Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual Lines #1713

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from
Draft

Conversation

adamharrison
Copy link
Member

@adamharrison adamharrison commented Jan 21, 2024

So, finally I've decided to take a crack at virtual lines. This'll make things like word wrapping, code folding, highlighting, and other things like that significantly easier to implement.

I've also moved most things like selections from doc to docview so we don't have the weird issue of spilt views sharing selections and other things like that.

Overall it should be a wash in terms of the amount of code; it's basically just unifying the disparate ways of modifying tokens to be drawn into a single system that hopefully won't overly affect performance.

I've also bumped the modversion as this is going to break a lot of stuff; I've tried to keep the interfaces roughly the same, but it's just too big a refactor to not bump modversion.

Also includes a codefolding plugin to take advantage of the new system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant