MCPcopy Create free account
hub / github.com/JacquesLucke/code_autocomplete / update

Method update

modal_handler.py:66–71  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

64 self.hide = True
65
66 def update(self, event):
67 self.update_show(event)
68 if self.hide or not is_event_in_text_editor(event): return
69 self.update_operator_selection(event)
70 self.update_operator_execution(event)
71 self.update_hide(event)
72
73 def update_show(self, event):
74 if self.hide and event.value == "PRESS" and not event.ctrl and is_event_in_text_editor(event):

Callers

nothing calls this directly

Calls 5

update_showMethod · 0.95
update_hideMethod · 0.95
is_event_in_text_editorFunction · 0.85

Tested by

no test coverage detected