message: Don't process completions in widget if completion is not enabled
diff: @@ -229,6 +229,8 @@ void RDTextEdit::keyPressEvent(QKeyEvent *e)
  bool completionShortcut = false;
  + if(m_Completer && m_CompletionModel)
  + {
  // tab triggers completion
  if(e->key() == Qt::Key_Tab)
  completionShortcut = true;
  @@ -241,6 +243,7 @@ void RDTextEdit::keyPressEvent(QKeyEvent *e)
  if(e->key() == Qt::Key_Space)
  completionShortcut = true;
  }
  + }
  // add ctrl-end and ctrl-home shortcuts, which aren't implemented for read-only edits
  if(e->key() == Qt::Key_End && (e->modifiers() & Qt::ControlModifier))
  