Skip to content

blob: Replace history entry if next selected is close the currently selected line

Administrator requested to merge fkling/4816-replace-browser-history into main

Created by: fkling

Closes #4816

With this commit a new history entry for selecting a line is only added if the newly selected line is > 10 lines away from the currently selected line.

A new entry is always added if a line range is currently selected or if the new selection is a line range.

A new entry is also always added when pinning the hovercard or closing the hovercard.

Test plan

Manual testing.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading