editor: Show relative line numbers for deleted rows (#42378)

Closes #42191

This PR adds support for relative line numbers in deleted hunks. Note
that this only applies in cases where there is a form of relative
numbering.

It also adds some tests for this functionality as well as missing tests
for other cases in line layouting that was previously untested.

Release Notes:

- Line numbers will now be shown in deleted git hunks if relative line
numbering is enabled
87d0401e64Finn Evers committed on 11/10/2025, 8:00:50 PM· committed by GitHubparent2c375e2
1 file changedLine totals unavailable