Commit cf1f7bd
committed
[Compare] Show move-button marker for larger diffs with range connection
When comparing diffs with five or more lines, show the 'move'-button
markers even when using range connections in order to assist the user in
finding the move buttons, which only appear when hovering over them.
For smaller diffs the marker is not shown to clutter the UI less as the
markers are then relatively easy to find in the middle of the range.
Follow-up on
- #25651 parent c806698 commit cf1f7bd
1 file changed
Lines changed: 4 additions & 2 deletions
File tree
- team/bundles/org.eclipse.compare/compare/org/eclipse/compare/contentmergeviewer
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
4522 | 4522 | | |
4523 | 4523 | | |
4524 | 4524 | | |
| 4525 | + | |
4525 | 4526 | | |
4526 | 4527 | | |
4527 | 4528 | | |
4528 | 4529 | | |
4529 | 4530 | | |
| 4531 | + | |
4530 | 4532 | | |
4531 | 4533 | | |
4532 | 4534 | | |
| |||
4579 | 4581 | | |
4580 | 4582 | | |
4581 | 4583 | | |
4582 | | - | |
| 4584 | + | |
4583 | 4585 | | |
4584 | 4586 | | |
4585 | 4587 | | |
| |||
0 commit comments