-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Line wrapping in the newest version #6064
Comments
Do you have a link to the example on try.gitea.io, to illustrate the issue? |
It also looks like this is suffering from the same issue with highlighting as I brought up here #6057. |
@lafriks @oscarlofwenhamn Thank you for the attention to this bug. I hope this can be resolved effectively. |
This is related to wrapping introduced in #5927. We need to change how line numbers are generated, ideally using CSS counters and |
Well, so this mess is actually a feature... I need this solved ASAP, or I have to stay on a previous version of Gitea, because this is a really terrible mess, I can't really focus on doing my work due to this. Or I have to remove e5cd80e manually... |
I'm happy if collaborators agree to reverting #5927 as I'm not sure when I get around to a proper fix which will take some time. |
This reverts commit e5cd80e. Fixes: go-gitea#6064
Thanks for a quick resolution. 👍 |
FTR: The highlighting still looks to be broken even after this PR. |
#6057 is a different issue, certainly not related here. |
[x]
):Description
I just updated from 0b51072 to 7a72aa6 . I noticed that files now always include line breaking/wrapping and I didn't find a way to turn it off. I assume this is a new "feature", as this is also confirmed on try.gitea.io.
Another issue is, that in a file I have the line numberings suddenly stop at a certain point. It just happens in this specific file and I can't reproduce this on try.gitea.io with random input. Didn't try the original input, as the file has confidential data in it.
Screenshots
The text was updated successfully, but these errors were encountered: