-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Pressing end doesn't scroll all the way to the end of a line #745
Comments
thanks for reporting! i've changed the styling of CodeMirror a bunch, so I wonder if it has to do with that. |
As far as I could figure out, it has to do something related the |
@bhawesh96 thanks for looking into that! |
@catarak |
Can you tell some key areas where you have modified the code so that I can take a look at it ? |
if you look in https:/processing/p5.js-web-editor/blob/master/client/styles/vendors/_codemirror.scss, you can see the basic CodeMirror styles, and in https:/processing/p5.js-web-editor/blob/master/client/styles/components/_editor.scss, some of the custom styles. |
@bmoren that does look like the same issue! |
related, flexbox issue: |
the CodeMirror editor is in a flexbox container, so it could the same issue that @bmoren linked to. |
I think we can close this issue as I can see we are now not using the horizontal scroll with the editor and vertical scroll is working fine |
Yes, this issue is no more a problem. Now the code wraps down to the next line. Please close the issue. |
The actual issue was with codemirror and now it has been fixed in codemirror. |
Wow really?! That's exciting. I'll leave this open until there's a new Codemirror release and this can be updated! |
I had tested with 'fixedGutter : true' and scrolling was working perfect. The problem was with 'fixedGutter : false' (and currently fixedGutter is set to false in p5js web editor). Now it is fixed in codemirror. So it should work. |
@catarak codemirror has released new v5.58.2 |
@sagar-joshi thank you! I'll make a PR that fixes this 😄 |
Nature of issue?
Details about the bug:
The text was updated successfully, but these errors were encountered: