Switch to columnar selection by pressing alt-shift while mouse is down (#25096)

We begin a columnar selection when we drag the mouse while holding
`alt-shift`. This PR makes it possible to start the selection and then
turn it into columnar by pressing `alt-shift`.

Fixes #5372 

Release Notes:

- Support switching to columnar selection by pressing `alt-shift` while
mouse is down
This commit is contained in:
Agus Zubiaga 2025-02-18 14:49:13 -03:00 committed by GitHub
parent c10ac31866
commit 737b177ab5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 42 additions and 4 deletions

View file

@ -414,7 +414,7 @@ impl Modifiers {
}
}
/// Returns [`Modifiers`] with just control.
/// Returns [`Modifiers`] with just alt.
pub fn alt() -> Modifiers {
Modifiers {
alt: true,