0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 08:45:03 +01:00
gitea/services
mrsdizzie 8d081950e6
Ensure syntax highlighting is the same inside diffs (#12205)
Make sure to end up with the same syntax highlighting inside various sections of diffs by processing the code first before detecting specific changes between the lines. Also try and make sure that when highlighting individual lines in a diff that it is tokenized the same as it would be when part of an entire file with more context.

Fixes: #12190
2020-07-11 13:43:12 +08:00
..
comments
externalaccount
gitdiff Ensure syntax highlighting is the same inside diffs (#12205) 2020-07-11 13:43:12 +08:00
issue
mailer
mirror
pull
release
repository
wiki