Description
Problem
The selected text can be easily modified (expanded or reduced the highlight) without redoing the selection.
Solution
I am happy with the Dovetail approach.
When you hover over the highlighted selection at the start and the end of the selection, a control appears (bold lines with different colors with the same tone)
(Note from :88ddad66-04dd-442f-a6c6-586666037fbb:: in dovetail it's not on hover, but when cursor is inside selection. I've done the same in :f017819a-810e-4380-8605-cb94fe047a65:)
You can drag the controls without changing the Reference target
If you push the [Esc] during the selection change (the mouse button is not released), the selection returns to the original position.
Known Issue
When the selection length is zero, and the mouse button is released, the Reference will disappear and be removed from the database. This can be problematic as the user did not intend to delete the reference by adjusting the start and end of the selection. We will not address this issue now and will wait for feedback.
Keep in mind that we need an overlapping Reference selection and multiple Reference targets in a different feature. Check the Highlight Creation for more info