| 152 | } |
| 153 | |
| 154 | void ExpressionTextEdit::focusOutEvent(QFocusEvent* e) { |
| 155 | // when loosing focus, rehighlight to remove potential highlighting of opening and closing brackets |
| 156 | m_highlighter->rehighlight(); |
| 157 | QTextEdit::focusOutEvent(e); |
| 158 | } |
| 159 | |
| 160 | void ExpressionTextEdit::keyPressEvent(QKeyEvent* e) { |
| 161 | switch (e->key()) { |
nothing calls this directly
no test coverage detected