0001-stop-InputLine-eventFilter-from-eating-JumpKeys.patch
| src/uisupport/inputline.cpp | ||
|---|---|---|
| 42 | 42 |
BufferView *view = qobject_cast<BufferView *>(watched); |
| 43 | 43 |
if(view) {
|
| 44 | 44 |
QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event); |
| 45 |
if(keyEvent->text().length() == 1) { // normal key press
|
|
| 45 |
if(keyEvent->text().length() == 1 && !(keyEvent->modifiers() & (Qt::ControlModifier ^ Qt::AltModifier)) ) { // normal key press
|
|
| 46 | 46 |
QChar c = keyEvent->text().at(0); |
| 47 | 47 |
if(c.isLetterOrNumber() || c.isSpace() || c.isPunct() || c.isSymbol()) {
|
| 48 | 48 |
setFocus(); |
| 49 |
- |
|