| 890 | } |
| 891 | |
| 892 | void TextEditor::focusOutEvent(QFocusEvent *event) |
| 893 | { |
| 894 | if (!d->lineWidgetContainer->hasFocus()) |
| 895 | closeLineWidget(); |
| 896 | |
| 897 | d->cancelInlineCompletion(); |
| 898 | Q_EMIT focusOut(); |
| 899 | Q_EMIT followTypeEnd(); |
| 900 | QsciScintilla::focusOutEvent(event); |
| 901 | } |
| 902 | |
| 903 | void TextEditor::keyPressEvent(QKeyEvent *event) |
| 904 | { |
nothing calls this directly
no test coverage detected