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

Smooth scrolling issues #248

Closed
3 tasks done
migueldeicaza opened this issue Sep 9, 2022 · 2 comments
Closed
3 tasks done

Smooth scrolling issues #248

migueldeicaza opened this issue Sep 9, 2022 · 2 comments

Comments

@migueldeicaza
Copy link
Owner

migueldeicaza commented Sep 9, 2022

@migueldeicaza
Copy link
Owner Author

migueldeicaza commented Sep 9, 2022

The issue is that we are only calling updateDisplay which in turn fills the attrStrBuffer with partial updates as the display is updated, and those gaps mean that we did not created attributedStrings from the text that is there.

One option is to not use the cached data at all, and eliminate the need for attrStrBuffer, and just compute on each use. But I also wonder if the attributed string is needed at all, or if we can go directly to the CTRuns.

@migueldeicaza
Copy link
Owner Author

Finished!

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

No branches or pull requests

1 participant