-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
simultaneous use of whitespaces and soft wrapping causes inappropriate behavior #1444
Comments
Could you share the link to the script you made a screenshot of, so I don't have to type in your code? (See the 'Share' button) |
Attached patch should resolve this. |
@marijnh |
I've tagged @codemirror/view 6.34.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I came across a bug in the component: when a line is broken, the displayed spaces are shifted to the distance of the text of the previous line and are superimposed on the text of the new line.
Expected result:
line...........
.....
Actual result:
line...........
...........
I noticed that dots were wrapped by span tag, so they can't be moved to another line as it should be.
The text was updated successfully, but these errors were encountered: