Module Expr Str ImportFrom alias ImportFrom alias Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Num ClassDef bases body Expr Str Assign NameStore ListLoad TupleLoad Str ListLoad TupleLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str keyword Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str keyword Str keyword Num Assign NameStore Str Assign NameStore TupleLoad Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr Str attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareNotIn NameLoad NameLoad body Return Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Return Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num TupleLoad Str Str Str body Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num Str orelse Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str AugAssignAdd AttributeStore NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str body If CompareNotEq NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A ParenMatch -- An IDLE extension for parenthesis matching.

When you hit a right paren, the cursor should move briefly to the left
paren.  Paren here is used generically; the matching applies to
parentheses, square brackets, and curly braces.
 HyperParser HyperParser configHandler idleConf N/A _openers N/A ) ] } ( [ { N/A CHECK_DELAY 100 ParenMatch N/A N/A N/A Highlight matching parentheses

    There are three supported style of paren matching, based loosely
    on the Emacs options.  The style is select based on the
    HILITE_STYLE attribute; it can be changed used the set_style
    method.

    The supported styles are:

    default -- When a right paren is typed, highlight the matching
        left paren for 1/2 sec.

    expression -- When a right paren is typed, highlight the entire
        expression from the left paren to the right paren.

    TODO:
        - extend IDLE with configuration dialog to change options
        - implement rest of Emacs highlight styles (see below)
        - print mismatch warning in IDLE status window

    Note: In Emacs, there are several styles of highlight where the
    matching paren is highlighted whenever the cursor is immediately
    to the right of a right paren.  I don't know how to do that in Tk,
    so I haven't bothered.
     N/A menudefs N/A N/A edit N/A N/A Show surrounding parens <<flash-paren>> N/A STYLE N/A N/A idleConf GetOption extensions ParenMatch style default expression N/A FLASH_DELAY N/A N/A idleConf GetOption extensions ParenMatch flash-delay type int default 500 N/A HILITE_CONFIG N/A N/A idleConf GetHighlight N/A N/A idleConf CurrentTheme hilite N/A BELL N/A N/A idleConf GetOption extensions ParenMatch bell type bool default 1 N/A RESTORE_VIRTUAL_EVENT_NAME <<parenmatch-check-restore>> N/A RESTORE_SEQUENCES N/A <KeyPress> <ButtonPress> <Key-Return> <Key-BackSpace> __init__ N/A N/A self editwin N/A N/A N/A N/A self editwin editwin N/A N/A self text N/A editwin text N/A N/A N/A N/A editwin text bind N/A self RESTORE_VIRTUAL_EVENT_NAME N/A self restore_event N/A N/A self counter 0 N/A N/A self is_restore_active 0 N/A N/A N/A self set_style N/A self STYLE N/A activate_restore N/A N/A self N/A N/A N/A N/A N/A self is_restore_active N/A N/A seq N/A self RESTORE_SEQUENCES N/A N/A N/A N/A N/A self text event_add N/A self RESTORE_VIRTUAL_EVENT_NAME seq N/A N/A self is_restore_active True N/A deactivate_restore N/A N/A self N/A N/A N/A N/A self is_restore_active N/A N/A seq N/A self RESTORE_SEQUENCES N/A N/A N/A N/A N/A self text event_delete N/A self RESTORE_VIRTUAL_EVENT_NAME seq N/A N/A self is_restore_active False N/A set_style N/A N/A self style N/A N/A N/A N/A self STYLE style N/A N/A style default N/A N/A N/A self create_tag N/A self create_tag_default N/A N/A self set_timeout N/A self set_timeout_last N/A N/A N/A style expression N/A N/A N/A self create_tag N/A self create_tag_expression N/A N/A self set_timeout N/A self set_timeout_none N/A flash_paren_event N/A N/A self event N/A N/A N/A indices N/A N/A N/A HyperParser N/A self editwin insert get_surrounding_brackets N/A N/A indices None N/A N/A N/A N/A self warn_mismatched N/A N/A N/A N/A self activate_restore N/A N/A N/A self create_tag indices N/A N/A N/A self set_timeout_last N/A paren_closed_event N/A N/A self event N/A N/A N/A closer N/A N/A N/A self text get insert-1c N/A N/A closer _openers N/A N/A N/A hp N/A HyperParser N/A self editwin insert-1c N/A N/A N/A N/A hp is_in_code N/A N/A N/A indices N/A N/A hp get_surrounding_brackets N/A _openers N/A closer True N/A N/A indices None N/A N/A N/A N/A self warn_mismatched N/A N/A N/A N/A self activate_restore N/A N/A N/A self create_tag indices N/A N/A N/A self set_timeout N/A restore_event N/A N/A self event N/A None N/A N/A N/A N/A N/A self text tag_delete paren N/A N/A N/A self deactivate_restore N/A N/A self counter 1 N/A handle_restore_timer N/A N/A self timer_count N/A N/A N/A N/A timer_count N/A self counter N/A N/A N/A N/A self restore_event N/A warn_mismatched N/A N/A self N/A N/A N/A N/A self BELL N/A N/A N/A N/A N/A self text bell N/A create_tag_default N/A N/A self indices N/A N/A N/A Highlight the single paren that matches N/A N/A N/A N/A self text tag_add paren N/A indices N/A 0 N/A N/A N/A N/A self text tag_config paren N/A self HILITE_CONFIG N/A create_tag_expression N/A N/A self indices N/A N/A N/A Highlight the entire expression N/A N/A N/A N/A N/A self text get N/A indices N/A 1 N/A ) ] } N/A N/A rightindex N/A N/A indices N/A 1 +1c N/A N/A rightindex N/A indices N/A 1 N/A N/A N/A N/A self text tag_add paren N/A indices N/A 0 rightindex N/A N/A N/A N/A self text tag_config paren N/A self HILITE_CONFIG N/A set_timeout_none N/A N/A self N/A N/A N/A Highlight will remain until user input turns it off
        or the insert has moved N/A N/A self counter 1 callme N/A N/A callme self c index N/A self N/A self counter N/A N/A N/A self text index insert N/A N/A N/A index N/A N/A N/A self text index insert N/A N/A N/A N/A self handle_restore_timer c N/A N/A N/A N/A N/A N/A self editwin text_frame after CHECK_DELAY callme callme N/A N/A N/A N/A N/A N/A self editwin text_frame after CHECK_DELAY callme callme N/A set_timeout_last N/A N/A self N/A N/A N/A The last highlight created will be removed after .5 sec N/A N/A self counter 1 N/A N/A N/A N/A N/A self editwin text_frame after N/A self FLASH_DELAY N/A N/A N/A self c N/A self N/A self counter N/A N/A self handle_restore_timer c N/A N/A