rename the global IdleConfParser object from IdleConf to idleconf
standard usage is now from IdleConf import idleconf
replace : with = in config.txt
diff --git a/Tools/idle/ParenMatch.py b/Tools/idle/ParenMatch.py
index 9f9e2ea..a607e49 100644
--- a/Tools/idle/ParenMatch.py
+++ b/Tools/idle/ParenMatch.py
@@ -14,7 +14,7 @@
import PyParse
from AutoIndent import AutoIndent, index2line
-from IdleConf import IdleConf
+from IdleConf import idleconf
class ParenMatch:
"""Highlight matching parentheses
@@ -56,8 +56,8 @@
windows_keydefs = {}
unix_keydefs = {}
- iconf = IdleConf.getsection('ParenMatch')
- STYLE = iconf.get('style')
+ iconf = idleconf.getsection('ParenMatch')
+ STYLE = iconf.getdef('style', 'default')
FLASH_DELAY = iconf.getint('flash-delay')
HILITE_CONFIG = iconf.getcolor('hilite')
BELL = iconf.getboolean('bell')