MCPcopy Index your code
hub / github.com/bpython/bpython / clean_up_current_line_for_exit

Method clean_up_current_line_for_exit

bpython/curtsiesfrontend/repl.py:628–632  ·  view source on GitHub ↗

Called when trying to exit to prep for final paint

(self)

Source from the content-addressed store, hash-verified

626 self.__enter__()
627
628 def clean_up_current_line_for_exit(self):
629 """Called when trying to exit to prep for final paint"""
630 logger.debug("unhighlighting paren for exit")
631 self.cursor_offset = -1
632 self.unhighlight_paren()
633
634 # Event handling
635 def process_event(self, e: events.Event | str) -> bool | None:

Callers 1

paintMethod · 0.95

Calls 1

unhighlight_parenMethod · 0.95

Tested by

no test coverage detected