code: def mouseReleaseEvent(self, event):
          
          self.QT_CLASS.mouseReleaseEvent(self, event)
          text = self.get_line_at(event.pos())
          if get_error_match(text) and not self.has_selected_text():
              if self.go_to_error is not None:
                  self.go_to_error.emit(text)
docs: Go to error