def accept_search(event: E) -> None: """ When enter pressed in isearch, quit isearch mode. (Multiline isearch would be too complicated.) (Usually bound to Enter.) """ search.accept_search()
def accept_search(event): """ When enter pressed in isearch, quit isearch mode. (Multiline isearch would be too complicated.) (Usually bound to Enter.) """ search.accept_search()
def accept_search_and_accept_input(event: E) -> None: """ Accept the search operation first, then accept the input. """ search.accept_search() event.current_buffer.validate_and_handle()
def accept_search_and_accept_input(event): """ Accept the search operation first, then accept the input. """ search.accept_search() event.current_buffer.validate_and_handle()
def accept_search(event): search.accept_search()
def accept_search(event): search.accept_search() new_line, _ = self._doc.translate_index_to_position( self._buf.cursor_position) self.sync_cursor_to_line(new_line)