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

getSelection returns incorrect values if any lines in buffer are word wrapped #66

Open
aeronautes opened this issue Sep 19, 2024 · 0 comments

Comments

@aeronautes
Copy link
Contributor

getSelection works fine if all lines in buffer are shorter than current scratchpad window width. But once a line overflows and is wordwrapped, the calculation for newlines doesn't seem to match what the buffer thinks it is. It's as if window widget adds newlines but the count in textarea doesn't match.

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