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

Method update_show

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

Source from the content-addressed store, hash-verified

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):
75 if event.type in show_event_types:
76 self.show_reset()
77 if event.type in ["LEFT_ALT", "RIGHT_ALT"]:
78 self.show_reset()
79 raise BlockEvent()
80
81 def show_reset(self):
82 self.hide = False

Callers 1

updateMethod · 0.95

Calls 3

show_resetMethod · 0.95
is_event_in_text_editorFunction · 0.85
BlockEventClass · 0.85

Tested by

no test coverage detected