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 mouse scroll for completions #11360

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

supersurviveur
Copy link

Hi, it's my first contribution here so it's not well organized.

The goal of this PR is to implement mouse scroll in completions in the same way as #10053.

In editor.rs, mouse events are passed to completions, then in popup.rs, I changed the handle_mouse_event method to pass the event to the contents if it occurs inside the popup and if it's not handled by the popup itself. Finally in menu.rs, I handled mouse events in the same way than popup.rs.

@supersurviveur supersurviveur deleted the branch helix-editor:master August 2, 2024 13:31
@supersurviveur supersurviveur deleted the master branch August 2, 2024 13:31
@supersurviveur supersurviveur restored the master branch August 2, 2024 13:32
@supersurviveur supersurviveur reopened this Aug 2, 2024
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

Successfully merging this pull request may close these issues.

None yet

1 participant