This is a preparatory MR for more feature work on selections e.g. bringing back rectangle selection. The following shortcomings of the current implementation are being addressed:
- Text selection could not be cleared after zooming, rotating reliably.
- Text could not be selected if the document was rotated (#347 (closed)).
- Occasional one pixel wide lines persisted after selection was cleared.
fixes #347 (closed)