Description
Since Eclipse Platform 4.33, the editors in Eclipse support "sticky scrolling".
The Diff Editor (viewer for Unified Diff) of EGit should provide an implementation of IStickyLinesProvider that takes the specific content in the viewer into account.
I think, in particular, it should provide the header lines of the diff sections (file, hunk) as sticky lines:
Proposal
https://eclipse.gerrithub.io/c/eclipse-egit/egit/+/1237236
Motivation
I think sticky lines should, in particular, display the context of the current position.
Alternatives considered
No response
Additional context
Sticky lines with line background color as shown in the screenshot above require this change: eclipse-platform/eclipse.platform.ui#3844
Without the change / for older versions, the lines have the default editor background:

Description
Since Eclipse Platform 4.33, the editors in Eclipse support "sticky scrolling".
The Diff Editor (viewer for Unified Diff) of EGit should provide an implementation of IStickyLinesProvider that takes the specific content in the viewer into account.
I think, in particular, it should provide the header lines of the diff sections (file, hunk) as sticky lines:
Proposal
https://eclipse.gerrithub.io/c/eclipse-egit/egit/+/1237236
Motivation
I think sticky lines should, in particular, display the context of the current position.
Alternatives considered
No response
Additional context
Sticky lines with line background color as shown in the screenshot above require this change: eclipse-platform/eclipse.platform.ui#3844
Without the change / for older versions, the lines have the default editor background:
