Synedit: Selection lost on mouse click
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
I have a selection created either by mouse or keyboard - it doesn't matter. Then I want to reduce it with Shift+LeftMouseClick, the selection is cleared instead of being reduced.
Steps to reproduce:
To reproduce in the IDE, "drag selection" must be enabled (IDE editor options).
Selecting from left to right:
1.)
1.a.) Select a word (e.g. begin) with mouse down on "b" and selecting until "n" (mouse up there).
1.b.) Alternatively, select the word with keyboard (Shift+Right arrow).
2.) Now click with the left mouse button somewhere in between the selection (e.g. between 'e' and 'g').
3.) The selection is cleared (bug). Expected: "be" to be selected.
When selecting from right to left, the effect should be the same, but the selection must be kept from right:
1.)
1.a.) Select a word (e.g. begin) with mouse down on "n" and selecting until "b" (mouse up there).
1.b.) Alternatively, select the word with keyboard (Shift+Left arrow).
2.) Now click with the left mouse button somewhere in between the selection (e.g. between 'e' and 'g').
3.) The selection is cleared (bug). Expected: "gin" to be selected.
Mantis conversion info:
- Mantis ID: 37963
- Version: 2.1 (SVN)
- Fixed in version: 2.2
- Fixed in revision: 64257 (#94b19829)
- Target version: 2.2