-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Code Editor Line number over 9999 not displayed correctly #31642
Comments
I played with this option, and it doesn't really fix it, it just delays the problem until there are 6 digits in the line number. |
I didn’t try 6 digits…. Maybe we need to check it first in https://microsoft.github.io/monaco-editor/playground.html?source=v0.50.0#example-creating-the-editor-hello-world |
Are you sure you tried the editor view an not just the text preview? No issues in https://microsoft.github.io/monaco-editor/playground.html?source=v0.50.0#example-creating-the-editor-hello-world |
I mean it works well in monaco editor playground, but not Gitea. |
It seems the issue has been fixed by #31940. |
Description
Any file over 10000 lines displays the line numbers beyond 9999 incorrectly in the online editor.
Gitea Version
1.22.1
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Review mode:

Edit Mode:

Git Version
1.22.1
Operating System
Redhat
How are you running Gitea?
docker.
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: