MCPcopy Create free account
hub / github.com/Bbalduzz/fletmint / update_highlight

Method update_highlight

fletmint/code.py:283–288  ·  view source on GitHub ↗
(self, e=None)

Source from the content-addressed store, hash-verified

281 return full_lines
282
283 def update_highlight(self, e=None):
284 highlighted_code = self.apply_syntax_highlighting(
285 text=self.code_textfield_container.content.value, language=self.language
286 )
287 self.code_highlight_container.content = highlighted_code
288 self.code_highlight_container.update()
289
290 def build(self):
291 if self.read_only:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected