[Cleanup request] Remove 1/3rd cell handling with mouse selection
Going back to commit 47cffc64 / bug 471480 10 years ago:
/* We want to be more lenient on the user with their column selection.
* We round to the closest logical position (positions are located between
* cells). But we don't want to fully round. So we divide the cell
* width into three parts. The side parts round to their nearest
* position. The middle part is always inclusive in the selection.
I'd like to request permission to drop this behavior :)
This is not the behavior experienced in other toolkits, graphical applications. Selection starts / ends at the closest character boundary to the mouse location, without being lenient. I'd like to make VTE's selection experience match other toolkits as much as possible.
If a user wishes to select some text, they should get used to click before the desired first letter, not over it.
If you drag the mouse across the starting point of the selection, as the direction of the selection changes, the letter where you first clicked sometimes remains highlighted (if you happened to click on its middle third) but sometimes not (the other 2/3). This is inconsistent and hence feels buggy.
But my real reason is: selection vs. BiDi is going to be cumbersome, I'll need to clean up many of the selection code, refactor how the start and end coordinates are stored (e.g. they'll probably need half cell granulatiry) and anything that I can drop helps me a bit :-D