docs: def remove_message(self, message):
          """
          Removes a message.
  
          :param message: Message to remove
          """
          import time
          _logger(self.__class__).log(5, 'removing message %s' % message)
          t = time.time()
          usd = message.block.userData()
          if usd:
              try:
                  usd.messages.remove(message)
              except (AttributeError, ValueError):
                  pass
          if message.decoration:
              self.editor.decorations.remove(message.decoration)
          self._messages.remove(message)