-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
confusing indentation #2435
Comments
Where are you typing this? |
https://try.gitea.io/nope/foobar/src/master/test.pp Click the edit pencil. |
In the web-editor then. Lines 964 to 982 in fd85e25
Looks like the editor config is only loaded when one edits the filename 🤔 And the order of setting it also seems off... |
On a side-note I noticed that the CodeMirror version we ship is very old https://github.com/codemirror/CodeMirror/releases/tag/5.17.0 and we should probably upgrade it to the newest version https://github.com/codemirror/CodeMirror/releases/tag/5.29.0 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
We could probably update to this version now: https://github.com/codemirror/CodeMirror/releases/tag/5.43.0 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
Can you recheck on try.gitea.io if problem has been solved with codemirror update |
Closing as we have replaced CodeMirror with Monaco Editor |
When typing out an indented block of code, the first line is indented with a [tab] character and the rest are indented with spaces. That makes for some really weird looking code. (And totally invalid code, if you're writing Python.)
https://try.gitea.io/nope/foobar/src/master/test.pp
The text was updated successfully, but these errors were encountered: