MCPcopy Index your code
hub / github.com/JacquesLucke/code_autocomplete / __init__

Method __init__

modal_handler.py:47–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45
46class AutoCompleteTextBox:
47 def __init__(self):
48 self.selected_index = 0
49 self.top_index = 3
50 self.line_amount = 8
51 self.operator_line_rectangles = []
52 self.operator_box_rectangle = Rectangle(0, 0, 0, 0)
53
54 self.background_color = (1.0, 1.0, 1.0, 1.0)
55 self.border_color = (0.9, 0.76, 0.4, 1.0)
56 self.text_color = (0.1, 0.1, 0.1, 1.0)
57 self.selection_color = (0.95, 0.95, 1.0, 1.0)
58 self.selection_border_color = (1.0, 0.8, 0.5, 1.0)
59
60 self.info_background_color = (0.95, 0.96, 0.97, 1.0)
61 self.info_border_color = (1.0, 0.8, 0.5, 1.0)
62
63
64 self.hide = True
65
66 def update(self, event):
67 self.update_show(event)

Callers

nothing calls this directly

Calls 1

RectangleClass · 0.85

Tested by

no test coverage detected