You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/repository/files
Dustin Firebaugh 3f1f808b9e
Full-file syntax highlighting for diff pages (#33766)
Fix #33358, fix #21970

This adds a step in the `GitDiffForRender` that does syntax highlighting for the
entire file and then only references lines from that syntax highlighted
code. This allows things like multi-line comments to be syntax
highlighted correctly.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 week ago
..
cherry_pick.go Decouple context from repository related structs (#33823) 1 week ago
commit.go Move commits signature and verify functions to service layers (#33605) 4 weeks ago
content.go Move some errors to their own sub packages (#32880) 3 months ago
content_test.go Clarify path param naming (#32969) 3 months ago
diff.go Decouple context from repository related structs (#33823) 1 week ago
diff_test.go Full-file syntax highlighting for diff pages (#33766) 1 week ago
file.go Support choose email when creating a commit via web UI (#33432) 2 months ago
file_test.go Clarify path param naming (#32969) 3 months ago
patch.go Decouple context from repository related structs (#33823) 1 week ago
temp_repo.go Decouple context from repository related structs (#33823) 1 week ago
tree.go Move some errors to their own sub packages (#32880) 3 months ago
tree_test.go Clarify path param naming (#32969) 3 months ago
update.go Decouple context from repository related structs (#33823) 1 week ago
upload.go Decouple context from repository related structs (#33823) 1 week ago