docs: def keyReleaseEvent(self, event):
          """
          Overrides keyReleaseEvent to emit the key_released signal.
  
          :param event: QKeyEvent
          """
          if self.isReadOnly():
              return
          initial_state = event.isAccepted()
          event.ignore()
          self.key_released.emit(event)
          if not event.isAccepted():
              event.setAccepted(initial_state)
              super(CodeEdit, self).keyReleaseEvent(event)