Expand diff to entire function
We can expand diffs 20 lines at a time, and https://gitlab.com/gitlab-org/gitlab-ce/issues/19054 will make it possible to expand the whole block between changes or the top of the file. We should have smarter options like seeing the rest of the function.
This is challenging because it requires understanding the file structure.
Proposal
Add an option and possibly automatically expand to the top/bottom of a function if it is within 20 lines of the changed line.