docs: def _hide_popup(self):
          """
          Hides the completer popup
          """
          debug('hide popup')
          if (self._completer.popup() is not None and
                  self._completer.popup().isVisible()):
              self._completer.popup().hide()
              self._last_cursor_column = -1
              self._last_cursor_line = -1
              QtWidgets.QToolTip.hideText()