Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Deselect() after mouse selection
Ensure that the selection start is always before the selection end, regardless of the direction of a mouse selection, to make h.Cursor.Deselect() handle its `start` argument correctly. This makes the cursor behavior after mouse selections consistent with the cursor behavior after keyboard selections. Fixes zyedidia#3055
- Loading branch information