Upgrading prompt_toolkit 0.1 to 0.2
Unknown0.1 → 0.2
UnknownUpgrade verdict
DepDelta hasn't looked for this range's notes yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- changed:
class Completion → class Completion(object)
- added:
class Document(object) - added:
constructor Document(text=…, cursor_position=…) - added:
method Document.find(sub, in_current_line=…, include_current_position=…) - added:
method Document.find_backwards(sub, in_current_line=…) - added:
method Document.find_next_matching_line(match_func) - added:
method Document.find_next_word_beginning() - added:
method Document.find_next_word_ending(include_current_position=…) - added:
method Document.find_previous_matching_line(match_func) - added:
method Document.find_start_of_previous_word() - added:
method Document.has_match_at_current_position(sub) - added:
method Document.translate_index_to_position(index) - added:
property Document.char_before_cursor - added:
property Document.current_char - added:
property Document.current_line - added:
property Document.current_line_after_cursor - added:
property Document.current_line_before_cursor - added:
property Document.cursor_at_the_end - added:
property Document.cursor_at_the_end_of_line - added:
property Document.cursor_down_position - added:
property Document.cursor_position_col - added:
property Document.cursor_position_row - added:
property Document.cursor_up_position - added:
property Document.leading_whitespace_in_current_line - added:
property Document.line_count - added:
property Document.lines - added:
property Document.lines_from_current - added:
property Document.text_after_cursor - added:
property Document.text_before_cursor
- removed:
class ReverseSearchDirection - removed:
field ReverseSearchDirection.BACKWARD - removed:
field ReverseSearchDirection.FORWARD - added:
class IncrementalSearchDirection - added:
class LineMode(object) - added:
field IncrementalSearchDirection.BACKWARD - added:
field IncrementalSearchDirection.FORWARD - added:
field LineMode.COMPLETE - added:
field LineMode.INCREMENTAL_SEARCH - added:
field LineMode.NORMAL
- removed:
constructor EmacsInputStreamHandler(line) - removed:
method EmacsInputStreamHandler.alt_b() - removed:
method EmacsInputStreamHandler.alt_backslash() - removed:
method EmacsInputStreamHandler.alt_ctrl_j() - removed:
method EmacsInputStreamHandler.alt_ctrl_m() - removed:
method EmacsInputStreamHandler.alt_d() - removed:
method EmacsInputStreamHandler.alt_enter() - removed:
method EmacsInputStreamHandler.alt_f() - removed:
method EmacsInputStreamHandler.alt_star() - removed:
method EmacsInputStreamHandler.alt_t() - removed:
method EmacsInputStreamHandler.ctrl_u() - removed:
method EmacsInputStreamHandler.ctrl_w() - removed:
method InputStreamHandler.alt_enter() - added:
method EmacsInputStreamHandler.ctrl_a() - added:
method EmacsInputStreamHandler.ctrl_a_ctrl_k() - added:
method EmacsInputStreamHandler.ctrl_n() - added:
method EmacsInputStreamHandler.ctrl_o() - added:
method EmacsInputStreamHandler.ctrl_p() - added:
method EmacsInputStreamHandler.ctrl_x() - added:
method EmacsInputStreamHandler.ctrl_x_ctrl_e() - added:
method EmacsInputStreamHandler.ctrl_x_ctrl_u() - added:
method EmacsInputStreamHandler.ctrl_x_ctrl_x() - added:
method EmacsInputStreamHandler.ctrl_y() - added:
method EmacsInputStreamHandler.insert_char(data) - added:
method EmacsInputStreamHandler.meta_b() - added:
method EmacsInputStreamHandler.meta_backslash() - added:
method EmacsInputStreamHandler.meta_backspace() - added:
method EmacsInputStreamHandler.meta_c() - added:
method EmacsInputStreamHandler.meta_ctrl_j() - added:
method EmacsInputStreamHandler.meta_ctrl_m() - added:
method EmacsInputStreamHandler.meta_d() - added:
method EmacsInputStreamHandler.meta_digit(digit) - added:
method EmacsInputStreamHandler.meta_enter() - added:
method EmacsInputStreamHandler.meta_f() - added:
method EmacsInputStreamHandler.meta_l() - added:
method EmacsInputStreamHandler.meta_star() - added:
method EmacsInputStreamHandler.meta_t() - added:
method EmacsInputStreamHandler.meta_u() - added:
method InputStreamHandler.meta_enter() - added:
method ViInputStreamHandler.backspace() - added:
method ViInputStreamHandler.ctrl_n() - added:
method ViInputStreamHandler.ctrl_p() - added:
method ViInputStreamHandler.ctrl_v()
- removed:
class Document(object) - removed:
constructor Document(text=…, cursor_position=…) - removed:
method Document.translate_index_to_position(index) - removed:
method Line.set_text(value, safe_current_in_undo_buffer=…) - removed:
property Document.current_char - removed:
property Document.current_line - removed:
property Document.current_line_after_cursor - removed:
property Document.current_line_before_cursor - removed:
property Document.current_line_position - removed:
property Document.cursor_at_the_end - removed:
property Document.cursor_position_col - removed:
property Document.cursor_position_row - removed:
property Document.line_count - removed:
property Document.lines - removed:
property Document.text_after_cursor - removed:
property Document.text_before_cursor - changed:
method Line.delete() → method Line.delete(count=…) - changed:
method Line.delete_character_before_cursor() → method Line.delete_character_before_cursor(count=…) - changed:
method Line.insert_text(data, overwrite=…, safe_current_in_undo_buffer=…) → method Line.insert_text(data, overwrite=…, move_cursor=…) - added:
method Line.complete_next() - added:
method Line.complete_previous() - added:
method Line.cursor_to_end_of_word() - added:
method Line.delete_from_start_of_line() - added:
method Line.delete_word_before_cursor() - added:
method Line.go_to_column(column) - added:
method Line.go_to_substring(sub, in_current_line=…, backwards=…) - added:
method Line.insert_line_above(copy_margin=…) - added:
method Line.insert_line_below(copy_margin=…) - added:
method Line.paste_from_clipboard(before=…) - added:
method Line.save_to_undo_stack() - added:
method Line.search_next(direction) - added:
method Line.set_clipboard(clipboard_data) - added:
method Line.set_current_line(value) - added:
method Line.transform_lines(line_index_iterator, transform_callback) - added:
property Line.cursor_position
- changed:
method Prompt.get_arg_prompt(text) → method Prompt.get_arg_prompt() - added:
class Dynamic(object) - added:
class PromptBase(object) - added:
constructor PromptBase(line, code) - added:
method Dynamic.callback() - added:
method PromptBase.get_help_tokens() - added:
method PromptBase.get_prompt() - added:
method PromptBase.get_second_line_prefix()
- changed:
constructor RenderContext(prompt, code_obj, accept=…, abort=…, highlight_regions=…) → constructor RenderContext(prompt, code_obj, accept=…, abort=…, highlight_regions=…, complete_state=…)
- added:
field Renderer.show_complete_menu