mirror of
https://github.com/microsoft/edit.git
synced 2025-08-04 19:08:31 +00:00
Add Ctrl+L shortcut to select whole line (#541)
This commit is contained in:
parent
d27ba98684
commit
71b97e95f5
1 changed files with 4 additions and 0 deletions
|
@ -2655,6 +2655,10 @@ impl<'a> Context<'a, '_> {
|
|||
kbmod::CTRL => tb.delete(CursorMovement::Word, -1),
|
||||
_ => return false,
|
||||
},
|
||||
vk::L => match modifiers {
|
||||
kbmod::CTRL => tb.select_line(),
|
||||
_ => return false,
|
||||
},
|
||||
vk::X => match modifiers {
|
||||
kbmod::CTRL => tb.cut(self.clipboard_mut()),
|
||||
_ => return false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue