Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse double-click and drag to select does not work #159

Closed
ColonelPhantom opened this issue Jun 19, 2020 · 2 comments
Closed

Mouse double-click and drag to select does not work #159

ColonelPhantom opened this issue Jun 19, 2020 · 2 comments

Comments

@ColonelPhantom
Copy link

Normally, one can select text by clicking and dragging. It is also possible to select a word by double clicking.

The natural extension of this is that you can double click, but hold the second press, and then drag around, to select whole words. This works in most programs, including text editors or web browser. But, it doesn't in lite. When I try to double click and drag, the selection simply stays at what I originally double clicked.

The same holds for selecting lines with triple click and drag.

@ColonelPhantom
Copy link
Author

I implemented this myself, see PR #161 if you would like to put this in upstream lite.

@rxi rxi closed this as completed in 53d555b Jun 25, 2020
@rxi
Copy link
Owner

rxi commented Jun 25, 2020

I took a look at your pull request but felt it could be implemented a little more cleanly, there was also a minor problem with the caret/non-caret ends of the selection not being in the correct place in all scenarios. I've pushed a commit which should solve the issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants