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

Add primary selection support #1729

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

Guldoman
Copy link
Member

For now this is only added for semi-explicit user actions, so plugins setting selections will not update the primary selection.
This is useful for cases like the type-ahead of the command palette, where we actually don't want to set the primary selection to the selected part.

Let me know if I missed some actions.

This is semi-disabled for Windows, as primary selection isn't supported there.
Does macOS support it?

Testing on Windows and macOS is welcome.

Testing the behavior with multi-selections is also welcome.

This supersedes the primary_selection plugin.

@adamharrison
Copy link
Member

Just tested this, works, looks good!

@adamharrison adamharrison merged commit de118ab into lite-xl:master Sep 13, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants