Don't capture ctrl+tab in text box, fixes #123
This commit is contained in:
parent
686185b0f1
commit
bde7e2bfc2
1 changed files with 7 additions and 5 deletions
|
|
@ -984,12 +984,14 @@ where
|
||||||
status = Status::Captured;
|
status = Status::Captured;
|
||||||
}
|
}
|
||||||
Named::Tab => {
|
Named::Tab => {
|
||||||
if modifiers.shift() {
|
if !modifiers.control() {
|
||||||
editor.action(Action::Unindent);
|
if modifiers.shift() {
|
||||||
} else {
|
editor.action(Action::Unindent);
|
||||||
editor.action(Action::Indent);
|
} else {
|
||||||
|
editor.action(Action::Indent);
|
||||||
|
}
|
||||||
|
status = Status::Captured;
|
||||||
}
|
}
|
||||||
status = Status::Captured;
|
|
||||||
}
|
}
|
||||||
_ => (),
|
_ => (),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue