- Notifications
You must be signed in to change notification settings - Fork21
Added mouse drag selection modes#75
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
thecoolwinter left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Works like a charm, can I just request a small re-arrange? I dislike this new enum being in theTextSelection file (since that's a specific struct type and is unrelated).
Could we rename it toCursorSelectionMode and move it to it's own file?
FastestMolasses commentedMar 31, 2025
Updated! |
thecoolwinter left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Awesome!
e86ca59 intomainUh oh!
There was an error while loading.Please reload this page.
Description
There are 3 different selection modes that editors typically have when clicking and dragging the mouse.
This PR tracks and implements the different selection mode behaviors.
Related Issues
Closes#74
Checklist
Screenshots
Character selection (default behavior, unchanged)
Screen.Recording.2025-03-30.at.6.12.36.AM.mov
Double click for word selection
Screen.Recording.2025-03-30.at.6.14.26.AM.mov
Triple click for line selection
output.mov