def METHOD_NAME(self, event):
    indices = HyperParser(self.editwin, "insert").get_surrounding_brackets()
    if indices is None:
        self.warn_mismatched()
        return
    self.activate_restore()
    self.create_tag(indices)
    self.set_timeout_last()