Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr ListLoad Call NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Index Str body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareLt AttributeLoad NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body If CompareLt AttributeLoad NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num If CompareGt Call NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareLtE Call NameLoad AttributeLoad NameLoad attr Num body Return NameLoad If CompareIs NameLoad NameLoad body Assign NameStore BinOpSub AttributeLoad NameLoad attr Num If BoolOpOr CompareLt NameLoad Num CompareGtE NameLoad Call NameLoad AttributeLoad NameLoad attr body Return NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad orelse If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str If CompareEq AttributeLoad NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Return NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Num body Return Assign NameStore Call NameLoad NameLoad BinOpSub AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Return Assign NameStore Call NameLoad NameLoad BinOpAdd AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr Num body Continue Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If CompareGt BinOpAdd AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr body Continue Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpAdd AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body If CompareLt BinOpSub Call NameLoad AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body Break Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If BoolOpAnd CompareGt Call NameLoad AttributeLoad NameLoad attr Num CompareEq AttributeLoad NameLoad attr Call NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr BinOpAdd NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num orelse Assign NameStore SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd AttributeLoad NameLoad attr Num Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareEq AttributeLoad NameLoad attr Num body Continue If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareNotEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index BinOpSub NameLoad Num Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index BinOpSub AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index BinOpSub AttributeLoad NameLoad attr Num attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Num If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareGtE AttributeLoad NameLoad attr NameLoad body If CompareEq SubscriptLoad NameLoad Slice BinOpSub AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr BinOpMult NameLoad Str body Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Slice BinOpSub AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr BinOpMult Num NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad Assign NameStore Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore BinOpMult Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Num Call NameLoad BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If BoolOpOr CompareGt Call NameLoad AttributeLoad NameLoad attr Num CompareEq Call NameLoad NameLoad Num body While CompareLt Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num For NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr Num Call NameLoad NameLoad orelse For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num If CompareLt NameLoad Num body Assign NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index Num Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num For NameStore NameLoad body If CompareIn AttributeLoad NameLoad attr NameLoad body Continue Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Num body Break Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index BinOpSub AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpSub AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num For NameStore NameLoad body If CompareIn AttributeLoad NameLoad attr NameLoad body Continue If CompareGtE AttributeLoad NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Break Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index BinOpAdd AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMult Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore BinOpMult Str SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Continue orelse If CompareEq SubscriptLoad NameLoad Slice SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num While CompareLt NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Num While CompareLt NameLoad Call NameLoad NameLoad body If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Num Call NameLoad Break Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str If CompareLt NameLoad Num body Assign NameStore BinOpSub Call NameLoad AttributeLoad NameLoad attr Num orelse Assign NameStore BinOpSub NameLoad Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareGtE AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Lambda arguments args defaults NameLoad Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Num Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpAdd Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad ListLoad Str Str body Expr Call AttributeLoad NameLoad attr Return NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body While UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body Expr Str Assign NameStore Str If NameLoad body Assign NameStore Str Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Return AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A 
Editor class for extending viewer with text editing features.
 N/A helpers line Line cursor Cursor viewer Viewer State N/A N/A N/A Store editor state for undo/redo. __init__ N/A N/A self editor N/A None N/A N/A N/A self cursors N/A N/A Cursor N/A N/A self lines N/A N/A Line N/A N/A self y_scroll 0 N/A N/A self x_scroll 0 N/A N/A self last_find N/A N/A editor None N/A N/A N/A N/A self store editor N/A store N/A N/A self editor N/A N/A N/A Store the state of editor instance. N/A N/A self cursors N/A N/A N/A cursor tuple N/A cursor N/A editor cursors N/A N/A self lines N/A N/A line data N/A line N/A editor lines N/A N/A self y_scroll N/A editor y_scroll N/A N/A self x_scroll N/A editor x_scroll N/A N/A self last_find N/A editor last_find N/A restore N/A N/A self editor N/A N/A N/A Restore stored state into the editor instance. N/A N/A editor cursors N/A N/A Cursor cursor N/A cursor N/A self cursors N/A N/A editor lines N/A N/A Line line N/A line N/A self lines N/A N/A editor y_scroll N/A self y_scroll N/A N/A editor x_scroll N/A self x_scroll N/A N/A editor last_find N/A self last_find N/A N/A Editor N/A Viewer N/A N/A Extends Viewer with editing capabilities. __init__ N/A N/A self app window N/A N/A N/A Initialize the editor.

        Args:
            app: The Suplemon main instance.
            window: A window object to use for the ui.
         N/A N/A N/A Viewer __init__ self app window N/A N/A self history N/A N/A State N/A N/A self current_state 0 N/A N/A self last_action None N/A init N/A N/A self N/A N/A N/A N/A N/A Viewer init self N/A operations N/A backspace delete insert enter tab untab escape new_cursor_up new_cursor_down new_cursor_left new_cursor_right page_up page_down push_up push_down undo redo toggle_line_nums toggle_line_ends toggle_highlight copy cut duplicate_line N/A self backspace N/A self delete N/A self insert N/A self enter N/A self tab N/A self untab N/A self escape N/A self new_cursor_up N/A self new_cursor_down N/A self new_cursor_left N/A self new_cursor_right N/A self page_up N/A self page_down N/A self push_up N/A self push_down N/A self undo N/A self redo N/A self toggle_line_nums N/A self toggle_line_ends N/A self toggle_highlight N/A self copy N/A self cut N/A self duplicate_line N/A key N/A N/A operations keys N/A N/A N/A N/A self operations N/A key N/A operations N/A key N/A set_buffer N/A N/A self buffer N/A N/A N/A Sets local or global buffer depending on config. N/A N/A N/A N/A N/A self app config N/A editor N/A use_global_buffer N/A N/A N/A N/A self app global_buffer buffer N/A N/A N/A self buffer buffer N/A set_data N/A N/A self data N/A N/A N/A Set the editor text contents. N/A N/A N/A Viewer set_data self data N/A buffer N/A N/A self get_buffer N/A N/A N/A len buffer 1 N/A N/A N/A N/A self store_state N/A N/A state N/A State N/A N/A N/A state store self N/A N/A N/A self history N/A 0 state N/A store_action_state N/A N/A self action state N/A None N/A N/A Store the editor state if a new action is taken. N/A N/A N/A self last_action action N/A N/A N/A self last_action action N/A N/A N/A self store_state state N/A N/A N/A N/A self current_state N/A N/A len N/A self history 1 N/A N/A N/A N/A N/A N/A self history N/A N/A self current_state store self N/A store_state N/A N/A self state action N/A None None N/A N/A Store the current editor state for undo/redo. N/A N/A state None N/A N/A state N/A State N/A N/A N/A state store self N/A N/A N/A len N/A self history 1 N/A N/A N/A N/A self current_state N/A N/A len N/A self history 1 N/A N/A N/A self history N/A N/A self history N/A N/A self current_state N/A N/A N/A N/A self history append state N/A N/A self current_state N/A N/A len N/A self history 1 N/A N/A N/A len N/A self history N/A N/A self config N/A max_history N/A N/A N/A N/A N/A self history pop 0 N/A restore_state N/A N/A self index N/A None N/A N/A Restore an editor state. N/A N/A N/A len N/A self history 1 N/A N/A False N/A N/A index None N/A N/A index N/A N/A self current_state 1 N/A N/A N/A index 0 N/A index N/A len N/A self history N/A N/A False N/A state N/A N/A self history N/A index N/A N/A N/A state restore self N/A N/A self current_state index N/A handle_input N/A N/A self event N/A N/A N/A done N/A N/A Viewer handle_input self event N/A N/A done N/A N/A key N/A event key_code N/A name N/A event key_name N/A N/A isinstance key str N/A N/A N/A N/A self type key N/A True N/A N/A N/A name N/A N/A N/A name startswith KEY_ N/A N/A N/A N/A self type name N/A True N/A False N/A undo N/A N/A self N/A N/A N/A Undo the last command or change. N/A N/A self last_action undo N/A N/A N/A self restore_state N/A redo N/A N/A self N/A N/A N/A Redo the last command or change. N/A N/A self last_action redo N/A N/A N/A self current_state N/A N/A len N/A self history 1 N/A N/A False N/A index N/A N/A self current_state 1 N/A N/A N/A self restore_state index N/A new_cursor_up N/A N/A self N/A N/A N/A Add a new cursor one line up. N/A x N/A N/A N/A self get_cursor x N/A cursor N/A N/A self get_first_cursor N/A N/A N/A cursor y 0 N/A N/A N/A new N/A Cursor x N/A N/A cursor y 1 N/A N/A N/A N/A self cursors append new N/A N/A N/A self move_cursors N/A N/A N/A self scroll_up N/A new_cursor_down N/A N/A self N/A N/A N/A Add a new cursor one line down. N/A x N/A N/A N/A self get_cursor x N/A cursor N/A N/A self get_last_cursor N/A N/A N/A cursor y N/A N/A len N/A self lines 1 N/A N/A N/A new N/A Cursor x N/A N/A cursor y 1 N/A N/A N/A N/A self cursors append new N/A N/A N/A self move_cursors N/A N/A N/A self scroll_down N/A new_cursor_left N/A N/A self N/A N/A N/A Add a new cursor one character left. N/A new N/A N/A cursor N/A self cursors N/A N/A N/A N/A cursor x 0 N/A N/A N/A N/A N/A new append N/A Cursor N/A N/A cursor x 1 N/A cursor y N/A c new N/A N/A N/A N/A N/A self cursors append c N/A N/A N/A self move_cursors N/A N/A N/A self scroll_up N/A new_cursor_right N/A N/A self N/A N/A N/A Add a new cursor one character right. N/A new N/A N/A cursor N/A self cursors N/A N/A N/A N/A N/A cursor x 1 N/A len N/A N/A self lines N/A N/A cursor y N/A N/A N/A N/A N/A new append N/A Cursor N/A N/A cursor x 1 N/A cursor y N/A c new N/A N/A N/A N/A N/A self cursors append c N/A N/A N/A self move_cursors N/A N/A N/A self scroll_down N/A escape N/A N/A self N/A N/A N/A Handle escape key.

        Removes last_find and all cursors except primary cursor. N/A N/A self last_find N/A N/A self cursors N/A N/A N/A self cursors N/A 0 N/A N/A N/A self move_cursors N/A N/A N/A self render N/A replace_all N/A N/A self what replacement N/A N/A N/A Replaces what with replacement on each line. N/A line N/A self lines N/A N/A data N/A N/A line get_data N/A new N/A N/A data replace what replacement N/A N/A N/A line set_data new N/A N/A N/A self move_cursors N/A delete N/A N/A self N/A N/A N/A Delete the next character. N/A cursor N/A self cursors N/A N/A N/A N/A N/A len N/A self lines 1 N/A cursor y N/A N/A N/A line N/A N/A self lines N/A N/A cursor y N/A N/A N/A N/A len N/A self lines 1 N/A N/A cursor x N/A len line N/A N/A cursor y N/A N/A len N/A self lines 1 N/A N/A data N/A N/A N/A N/A self lines N/A N/A cursor y get_data N/A N/A N/A N/A self lines pop N/A cursor y N/A N/A N/A N/A N/A self lines N/A N/A cursor y set_data N/A data N/A N/A self lines N/A N/A cursor y N/A line_cursors N/A N/A self get_cursors_on_line N/A N/A cursor y 1 N/A c line_cursors N/A N/A N/A N/A c move_right N/A len data N/A N/A N/A c move_up N/A N/A N/A self move_y_cursors N/A cursor y -1 N/A N/A start N/A line N/A N/A cursor x N/A end N/A line N/A N/A N/A cursor x 1 N/A N/A N/A N/A N/A self lines N/A N/A cursor y set_data N/A start end N/A N/A N/A self move_x_cursors N/A cursor y N/A cursor x -1 N/A N/A N/A self move_cursors N/A N/A N/A self store_action_state delete N/A backspace N/A N/A self N/A N/A N/A Delete the previous character. N/A curs N/A reversed N/A sorted N/A self cursors key N/A N/A N/A c N/A N/A N/A c N/A 1 N/A c N/A 0 N/A cursor curs N/A N/A line_no N/A cursor y N/A N/A N/A N/A cursor x 0 N/A N/A cursor y 0 N/A N/A N/A N/A N/A N/A cursor x 0 N/A N/A cursor y 0 N/A N/A curr_line N/A N/A N/A self lines pop line_no N/A prev_line N/A N/A self lines N/A N/A line_no 1 N/A length N/A len prev_line N/A new_data N/A N/A N/A self lines N/A N/A N/A cursor y 1 curr_line N/A N/A N/A N/A N/A self lines N/A N/A N/A cursor y 1 set_data new_data N/A line_cursors N/A N/A self get_cursors_on_line line_no N/A line_cursor line_cursors N/A N/A N/A N/A line_cursor move_up N/A N/A N/A line_cursor move_right length N/A N/A N/A self move_y_cursors N/A cursor y -1 N/A N/A curr_line N/A N/A self lines N/A line_no N/A del_n_chars 1 N/A N/A N/A self config N/A backspace_unindent N/A N/A indent N/A N/A self config N/A tab_width N/A N/A N/A cursor x indent N/A N/A N/A N/A curr_line N/A N/A N/A cursor x indent N/A cursor x N/A indent N/A N/A del_n_chars indent N/A start N/A curr_line N/A N/A N/A cursor x del_n_chars N/A end N/A curr_line N/A N/A cursor x N/A N/A N/A N/A N/A self lines N/A line_no set_data N/A start end N/A N/A N/A cursor move_left del_n_chars N/A N/A N/A self move_x_cursors line_no N/A cursor x N/A -1 del_n_chars N/A N/A N/A self move_cursors N/A N/A N/A self scroll_up N/A N/A N/A self store_action_state backspace N/A enter N/A N/A self N/A N/A N/A Insert a new line at each cursor. N/A curs N/A sorted N/A self cursors key N/A N/A N/A c N/A N/A N/A c N/A 1 N/A c N/A 0 N/A curs N/A reversed curs N/A cursor curs N/A N/A line N/A N/A self lines N/A N/A cursor y N/A start N/A line N/A N/A cursor x N/A end N/A line N/A N/A cursor x N/A N/A N/A N/A N/A self lines N/A N/A cursor y set_data start N/A wspace N/A N/A N/A self config N/A auto_indent_newline N/A N/A wspace N/A N/A N/A helpers whitespace N/A N/A self lines N/A N/A cursor y N/A N/A N/A N/A self lines insert N/A N/A cursor y 1 N/A Line N/A wspace end N/A N/A N/A self move_y_cursors N/A cursor y 1 N/A N/A N/A cursor set_x N/A len wspace N/A N/A N/A cursor move_down N/A N/A N/A self move_cursors N/A N/A N/A self scroll_down N/A N/A N/A self store_action_state enter N/A insert N/A N/A self N/A N/A N/A Insert buffer data at cursor(s). N/A cur N/A N/A self get_cursor N/A buffer N/A list N/A N/A self get_buffer N/A N/A N/A N/A len N/A self cursors 1 N/A N/A len buffer 1 N/A N/A N/A N/A len buffer N/A len N/A self cursors N/A N/A N/A N/A buffer extend buffer N/A curs N/A sorted N/A self cursors key N/A N/A N/A c N/A N/A N/A c N/A 1 N/A c N/A 0 N/A cursor curs N/A N/A line N/A N/A self lines N/A N/A cursor y N/A buf N/A buffer N/A 0 N/A line N/A N/A N/A line N/A N/A cursor x buf N/A line N/A N/A cursor x N/A N/A N/A N/A N/A self lines N/A N/A cursor y set_data line N/A N/A N/A buffer pop 0 N/A N/A N/A self move_x_cursors N/A cursor y N/A N/A cursor x 1 N/A len buf N/A N/A buf buffer N/A N/A y N/A cur N/A 1 N/A N/A y 0 N/A N/A y 0 N/A N/A N/A N/A self lines insert y N/A Line buf N/A N/A N/A self move_y_cursors N/A N/A cur N/A 1 1 1 N/A N/A N/A self move_cursors N/A N/A N/A self scroll_down N/A N/A N/A self store_action_state insert N/A insert_lines_at N/A N/A self lines at N/A N/A N/A rev_lines N/A reversed lines N/A line rev_lines N/A N/A N/A N/A N/A self lines insert at N/A Line line N/A N/A N/A self move_y_cursors at N/A len lines N/A push_up N/A N/A self N/A N/A N/A Move current lines up by one line. N/A used_y N/A N/A curs N/A sorted N/A self cursors key N/A N/A N/A c N/A N/A N/A c N/A 1 N/A c N/A 0 N/A cursor curs N/A N/A N/A N/A cursor y used_y N/A N/A N/A N/A N/A used_y append N/A cursor y N/A N/A N/A cursor y 0 N/A N/A N/A old N/A N/A self lines N/A N/A N/A cursor y 1 N/A N/A N/A self lines N/A N/A N/A cursor y 1 N/A N/A self lines N/A N/A cursor y N/A N/A N/A self lines N/A N/A cursor y old N/A N/A N/A self move_cursors N/A 0 -1 N/A N/A N/A self scroll_up N/A N/A N/A self store_action_state push_up N/A push_down N/A N/A self N/A N/A N/A Move current lines down by one line. N/A used_y N/A N/A curs N/A reversed N/A sorted N/A self cursors key N/A N/A N/A c N/A N/A N/A c N/A 1 N/A c N/A 0 N/A cursor curs N/A N/A N/A N/A cursor y used_y N/A N/A N/A N/A N/A cursor y N/A N/A len N/A self lines 1 N/A N/A N/A N/A N/A used_y append N/A cursor y N/A old N/A N/A self lines N/A N/A N/A cursor y 1 N/A N/A N/A self lines N/A N/A N/A cursor y 1 N/A N/A self lines N/A N/A cursor y N/A N/A N/A self lines N/A N/A cursor y old N/A N/A N/A self move_cursors N/A 0 1 N/A N/A N/A self scroll_down N/A N/A N/A self store_action_state push_down N/A tab N/A N/A self N/A N/A N/A Indent lines. N/A N/A N/A self store_action_state tab N/A N/A N/A self type N/A N/A N/A self config N/A tab_width N/A untab N/A N/A self N/A N/A N/A Unindent lines. N/A linenums N/A N/A tab N/A N/A N/A self config N/A tab_width N/A cursor N/A self cursors N/A N/A line N/A N/A self lines N/A N/A cursor y N/A N/A N/A cursor y linenums N/A N/A N/A cursor x N/A N/A helpers whitespace line N/A N/A N/A N/A N/A line N/A N/A N/A self config N/A tab_width tab N/A N/A line N/A Line N/A line N/A N/A N/A self config N/A tab_width N/A N/A N/A self lines N/A N/A cursor y line N/A N/A cursor x N/A N/A helpers whitespace line N/A N/A N/A linenums append N/A cursor y N/A N/A N/A self store_action_state untab N/A copy N/A N/A self N/A N/A N/A Copy lines to buffer. N/A copy_buffer N/A N/A line_nums N/A N/A self get_lines_with_cursors N/A i 0 N/A N/A i N/A len line_nums N/A N/A line N/A N/A self lines N/A N/A line_nums N/A i N/A N/A N/A copy_buffer append N/A N/A line get_data N/A i 1 N/A N/A N/A self set_buffer copy_buffer N/A N/A N/A self store_action_state copy N/A cut N/A N/A self N/A N/A N/A Cut lines to buffer. N/A cut_buffer N/A N/A line_nums N/A N/A self get_lines_with_cursors N/A line_nums N/A line_nums N/A -1 N/A i 0 N/A N/A i N/A len line_nums N/A N/A N/A N/A len N/A self lines 1 N/A N/A N/A N/A cut_buffer append N/A N/A self lines N/A 0 N/A N/A N/A self lines N/A 0 N/A Line N/A N/A line_no N/A line_nums N/A i N/A line N/A N/A N/A self lines pop line_no N/A N/A N/A cut_buffer append line N/A N/A N/A self move_y_cursors line_no -1 N/A i 1 N/A N/A N/A self move_cursors N/A N/A N/A self set_buffer N/A cut_buffer N/A -1 N/A N/A N/A self store_action_state cut N/A type N/A N/A self data N/A N/A N/A Insert data at each cursor position. N/A cursor N/A self cursors N/A N/A N/A N/A self type_at_cursor cursor data N/A N/A N/A self move_cursors N/A N/A N/A self store_action_state type N/A type_at_cursor N/A N/A self cursor data N/A N/A N/A Insert data at specified cursor. N/A line N/A N/A self lines N/A N/A cursor y N/A start N/A line N/A N/A cursor x N/A end N/A line N/A N/A cursor x N/A N/A N/A N/A N/A self lines N/A N/A cursor y set_data N/A N/A start data end N/A N/A N/A self move_x_cursors N/A cursor y N/A cursor x N/A len data N/A N/A N/A cursor move_right N/A len data N/A go_to_pos N/A N/A self line_no col N/A 0 N/A N/A Move primary cursor to line_no, col=0. N/A N/A line_no 0 N/A N/A line_no N/A N/A len N/A self lines 1 N/A N/A line_no N/A line_no 1 N/A N/A N/A self store_state N/A cur N/A N/A self get_cursor N/A N/A col None N/A N/A N/A cur x col N/A N/A cur y line_no N/A N/A N/A cur y N/A len N/A self lines N/A N/A N/A cur y N/A N/A len N/A self lines 1 N/A N/A N/A self scroll_to_line N/A cur y N/A N/A N/A self move_cursors N/A duplicate_line N/A N/A self N/A N/A N/A Copy current line and add it below as a new line. N/A curs N/A sorted N/A self cursors key N/A N/A N/A c N/A N/A N/A c y N/A c x N/A cursor curs N/A N/A line N/A Line N/A N/A self lines N/A N/A cursor y N/A N/A N/A N/A self lines insert N/A N/A cursor y 1 line N/A N/A N/A self move_y_cursors N/A cursor y 1 N/A N/A N/A self move_cursors N/A N/A N/A self store_action_state duplicate_line N/A N/A PromptEditor N/A Editor N/A N/A An input prompt based on the Editor. __init__ N/A N/A self app window N/A N/A N/A N/A N/A Editor __init__ self app window N/A N/A self ready 0 N/A N/A self canceled 0 N/A N/A self input_func N/A N/A N/A N/A False N/A N/A self caption N/A init N/A N/A self N/A N/A N/A N/A N/A Editor init self N/A N/A N/A self operations N/A find N/A set_config N/A N/A self config N/A N/A N/A Set the configuration for the editor. N/A N/A config N/A show_line_nums False N/A N/A N/A Editor set_config self config N/A set_input_source N/A N/A self input_func N/A N/A N/A N/A self input_func input_func N/A on_ready N/A N/A self N/A N/A N/A Accepts the current input. N/A N/A self ready 1 N/A N/A on_cancel N/A N/A self N/A N/A N/A Cancels the input prompt. N/A N/A N/A self set_data N/A N/A self ready 1 N/A N/A self canceled 1 N/A N/A line_offset N/A N/A self N/A N/A N/A Get the x coordinate of beginning of line. N/A N/A N/A len N/A self caption 1 N/A render_line_contents N/A N/A self line pos x_offset max_len N/A N/A N/A Render the prompt line. N/A x_offset N/A N/A self line_offset N/A N/A N/A N/A self window addstr N/A pos N/A 1 0 N/A self caption N/A N/A N/A self render_line_normal line pos x_offset max_len N/A handle_input N/A N/A self event N/A N/A N/A Handle special bindings for the prompt. N/A name N/A event key_name N/A N/A name N/A ctrl+c escape N/A N/A N/A N/A self on_cancel N/A False N/A N/A name enter N/A N/A N/A N/A self on_ready N/A False N/A N/A N/A Editor handle_input self event N/A get_input N/A N/A self caption initial N/A N/A N/A Get text input from the user via the prompt. N/A N/A self caption caption N/A N/A N/A self set_data initial N/A N/A N/A self end N/A N/A N/A self refresh N/A success N/A N/A self input_loop N/A success N/A N/A N/A N/A self get_data N/A False N/A input_loop N/A N/A self N/A N/A N/A N/A N/A self ready N/A N/A event N/A N/A self input_func True N/A event N/A N/A N/A N/A self handle_input event N/A N/A N/A self refresh N/A N/A N/A self canceled N/A N/A True N/A N/A PromptEditorBool N/A PromptEditor N/A N/A An input prompt for booleans based on PromptEditor. set_value N/A N/A self val N/A N/A N/A N/A self value val N/A handle_input N/A N/A self event N/A N/A N/A Handle special bindings for the prompt. N/A name N/A event key_name N/A N/A N/A N/A name lower y N/A N/A N/A N/A self set_value True N/A N/A N/A self on_ready N/A False N/A N/A N/A N/A name lower n N/A N/A N/A N/A self set_value False N/A N/A N/A self on_ready N/A False N/A N/A N/A PromptEditor handle_input self event N/A get_input N/A N/A self caption initial N/A False N/A N/A Get a boolean value from the user via the prompt. N/A indicator [y/N] N/A initial N/A N/A indicator [Y/n] N/A N/A self caption N/A N/A caption indicator N/A N/A N/A self set_value initial N/A N/A N/A self end N/A N/A N/A self refresh N/A success N/A N/A self input_loop N/A success N/A N/A N/A self value N/A False N/A N/A