MCPcopy Index your code
hub / github.com/Akascape/CTkCodeBox / insert

Method insert

CTkCodeBox/ctk_code_box.py:161–165  ·  view source on GitHub ↗
(self, start, end)

Source from the content-addressed store, hash-verified

159 self.tag_add("sel", "0.0", "end")
160
161 def insert(self, start, end):
162 super().insert(start, end)
163 self.update_code(edited=False)
164 self.edit_reset()
165 self.edited = False
166
167 def highlight_code(self, code):
168 code = code.replace("\n"," ",1)

Callers 3

codebox_example.pyFile · 0.80
theme_example.pyFile · 0.80
paste_textMethod · 0.80

Calls 1

update_codeMethod · 0.95

Tested by

no test coverage detected