-
- Downloads
Change strategy to highlight diffs. #3945
Now we apply syntax highlighting to the whole old and new files. This basically help us to highlight adequately multiline content.
Showing
- app/controllers/application_controller.rb 1 addition, 0 deletionsapp/controllers/application_controller.rb
- app/controllers/projects/blob_controller.rb 5 additions, 2 deletionsapp/controllers/projects/blob_controller.rb
- app/controllers/projects/commit_controller.rb 1 addition, 0 deletionsapp/controllers/projects/commit_controller.rb
- app/controllers/projects/compare_controller.rb 1 addition, 0 deletionsapp/controllers/projects/compare_controller.rb
- app/controllers/projects/merge_requests_controller.rb 2 additions, 0 deletionsapp/controllers/projects/merge_requests_controller.rb
- app/helpers/diff_helper.rb 2 additions, 2 deletionsapp/helpers/diff_helper.rb
- app/views/projects/commit/show.html.haml 2 additions, 1 deletionapp/views/projects/commit/show.html.haml
- app/views/projects/compare/show.html.haml 1 addition, 1 deletionapp/views/projects/compare/show.html.haml
- app/views/projects/diffs/_diffs.html.haml 1 addition, 1 deletionapp/views/projects/diffs/_diffs.html.haml
- app/views/projects/merge_requests/_new_submit.html.haml 1 addition, 1 deletionapp/views/projects/merge_requests/_new_submit.html.haml
- app/views/projects/merge_requests/show/_diffs.html.haml 1 addition, 1 deletionapp/views/projects/merge_requests/show/_diffs.html.haml
- lib/gitlab/diff/file.rb 5 additions, 3 deletionslib/gitlab/diff/file.rb
- lib/gitlab/diff/highlight.rb 53 additions, 17 deletionslib/gitlab/diff/highlight.rb
Please register or sign in to comment