class_docstr: Highlight matching openers and closers, (), [], and {}.
  
  There are three supported styles of paren matching.  When a right
  paren (opener) is typed:
  
  opener -- highlight the matching left paren (closer);
  parens -- highlight the left and right parens (opener and closer);
  expression -- highlight the entire expression from opener to closer.
  (For back compatibility, 'default' is a synonym for 'opener').
  
  Flash-delay is the maximum milliseconds the highlighting remains.
  Any cursor movement (key press or click) before that removes the
  highlight.  If flash-delay is 0, there is no maximum.
  
  TODO:
  - Augment bell() with mismatch warning in status window.
  - Highlight when cursor is moved to the right of a closer.
    This might be too expensive to check.
class_docstr_tok: ["Highlight","matching","openers","and","closers",",","(",")",",","[","]",",","and","{","}",".","There","are","three","supported","styles","of","paren","matching",".","When","a","right","paren","(","opener",")","is","typed",":","opener","--","highlight","the","matching","left","paren","(","closer",")",";","parens","--","highlight","the","left","and","right","parens","(","opener","and","closer",")",";","expression","--","highlight","the","entire","expression","from","opener","to","closer",".","(","For","back","compatibility",",","'default","'","is","a","synonym","for","'opener","'",")",".","Flash-delay","is","the","maximum","milliseconds","the","highlighting","remains",".","Any","cursor","movement","(","key","press","or","click",")","before","that","removes","the","highlight",".","If","flash-delay","is","0",",","there","is","no","maximum",".","TODO",":","-","Augment","bell","(",")","with","mismatch","warning","in","status","window",".","-","Highlight","when","cursor","is","moved","to","the","right","of","a","closer",".","This","might","be","too","expensive","to","check","."]
code: def reload(cls):
      cls.STYLE = idleConf.GetOption(
          "extensions", "ParenMatch", "style", default="opener"
      )
      cls.FLASH_DELAY = idleConf.GetOption(
          "extensions",
          "ParenMatch",
          "flash-delay",
          type="int",
          default=500,
      )
      cls.BELL = idleConf.GetOption(
          "extensions", "ParenMatch", "bell", type="bool", default=1
      )
      cls.HILITE_CONFIG = idleConf.GetHighlight(
          idleConf.CurrentTheme(), "hilite"
      )
  
file_path: cpython/Lib/idlelib/parenmatch.py
imports: from idlelib.hyperparser import HyperParser
  from idlelib.config import idleConf
label_desc: Use image node_id 2 for calling the ParenMatch obj's underlying member method code with example usage: obj.reload(cls) without return types