MCPcopy Create free account
hub / github.com/Eve-PySpy/PySpy / OnHighlight

Method OnHighlight

gui.py:758–763  ·  view source on GitHub ↗
(id, name, type, e=None)

Source from the content-addressed store, hash-verified

756 self.updateList(self.options.Get("outlist", None))
757
758 def OnHighlight(id, name, type, e=None):
759 highlighted_list = self.options.Get("highlightedList", default=[])
760 if [id, name, type] not in highlighted_list:
761 highlighted_list.append([id, name, type])
762 self.options.Set("highlightedList", highlighted_list)
763 self.updateList(self.options.Get("outlist", None))
764
765 def OnDeHighlight(id, name, type, e=None):
766 highlighted_list = self.options.Get("highlightedList", default=[])

Callers

nothing calls this directly

Calls 3

updateListMethod · 0.95
GetMethod · 0.80
SetMethod · 0.80

Tested by

no test coverage detected