This PR implements moving the cursor to where the mouse clicked, thus fixes #68.
For that, we factor out the Position struct into a separate module and add
a thorough set of tests to verify it's behavior.
There is now also a distinction between to_offset and to_offset_snapping.
this PR is built on top of #71, which should get merged first
This PR implements moving the cursor to where the mouse clicked, thus fixes #68. For that, we factor out the Position struct into a separate module and add a thorough set of tests to verify it's behavior. There is now also a distinction between
to_offset
andto_offset_snapping
.this PR is built on top of #71, which should get merged first