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

Method selected_operator

modal_handler.py:508–510  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

506
507 @property
508 def selected_operator(self):
509 operators = get_text_operators(get_active_text_block())
510 return self.get_active_operator(operators)
511
512 def get_active_operator(self, operators):
513 self.correct_index(len(operators))

Callers

nothing calls this directly

Calls 3

get_active_operatorMethod · 0.95
get_text_operatorsFunction · 0.90
get_active_text_blockFunction · 0.85

Tested by

no test coverage detected