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

Trigger columnar selection behavior on middle mouse down #12005

Merged
merged 1 commit into from
May 18, 2024

Conversation

mikayla-maki
Copy link
Contributor

fixes #11990

Release Notes:

  • Changed middle mouse down to trigger a columnar selection, creating a rectangle of multi cursors over a dragged region. (#11990)

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label May 18, 2024
@mikayla-maki mikayla-maki changed the title Trigger columnar selection behavior on middle mouse down as well Trigger columnar selection behavior on middle mouse down May 18, 2024
@mikayla-maki mikayla-maki merged commit 410c46a into main May 18, 2024
9 checks passed
@mikayla-maki mikayla-maki deleted the middle-click-multi-cursor branch May 18, 2024 00:57
osiewicz pushed a commit to RemcoSmitsDev/zed that referenced this pull request May 18, 2024
…ies#12005)

fixes zed-industries#11990

Release Notes:

- Changed middle mouse down to trigger a columnar selection, creating a
rectangle of multi cursors over a dragged region.
([zed-industries#11990](zed-industries#11990))
bennetbo added a commit that referenced this pull request May 29, 2024
#12005 introduced a side effect, that would cause the editor to react to
a scroll event when using the middle mouse button to close a tab

Before:


https://github.com/zed-industries/zed/assets/53836821/46cb2e71-e9d5-477c-b34a-dc9b6bc9b1f1

After:


https://github.com/zed-industries/zed/assets/53836821/6ada7985-97c9-4b52-848f-c7f9461c5216

Release Notes:

- Fixed an issue where the editor would scroll upwards if other tabs
were closed using the middle mouse button
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Middle Click + Drag Multicursor
1 participant