def METHOD_NAME(self, event):
    pc = self.identify_row(event.y)
    op = self.root.pcMap[pc]["op"]
    if op in self._highlighted:
        self.tag_configure(op, foreground="")
        self._highlighted.remove(op)
        return
    self.tag_configure(op, foreground="#dd3333" if op in ("REVERT", "INVALID") else "#dddd33")
    self._highlighted.add(op)