Lines Matching refs:idleConf
15 from idlelib.configHandler import idleConf
535 if idleConf.GetOption('main', 'Theme', 'name') != 'IDLE New':
567 if idleConf.IsCoreBinding(event):
571 extName = idleConf.GetExtnNameForEvent(event)
632 sections = idleConf.GetSectionList('default', configType)
635 options = idleConf.defaultCfg[configType].GetOptionList(section)
638 idleConf.defaultCfg[configType].Get(section, option))
671 currentBindings = idleConf.GetCurrentKeySet()
700 usedNames = (idleConf.GetSectionList('user', 'keys') +
701 idleConf.GetSectionList('default', 'keys'))
721 prevKeys = idleConf.GetCoreKeys(prevKeySetName)
735 customKeyList = idleConf.GetSectionList('user', 'keys')
747 keySet = idleConf.GetKeySet(keySetName)
772 idleConf.userCfg['keys'].remove_section(keySetName)
776 idleConf.userCfg['keys'].Save()
778 itemList = idleConf.GetSectionList('user', 'keys')
786 self.keysAreBuiltin.set(idleConf.defaultCfg['main'].Get('Keys', 'default'))
787 self.builtinKeys.set(idleConf.defaultCfg['main'].Get('Keys', 'name'))
801 idleConf.userCfg['highlight'].remove_section(themeName)
805 idleConf.userCfg['highlight'].Save()
807 itemList = idleConf.GetSectionList('user', 'highlight')
815 self.themeIsBuiltin.set(idleConf.defaultCfg['main'].Get('Theme', 'default'))
816 self.builtinTheme.set(idleConf.defaultCfg['main'].Get('Theme', 'name'))
853 usedNames = (idleConf.GetSectionList('user', 'highlight') +
854 idleConf.GetSectionList('default', 'highlight'))
873 newTheme = idleConf.GetThemeDict(themeType, themeName)
882 customThemeList = idleConf.GetSectionList('user', 'highlight')
928 colours = idleConf.GetHighlight(theme, element)
930 colours['background'] = idleConf.GetHighlight(
1000 configuredFont = idleConf.GetFont(self, 'main', 'EditorWindow')
1024 spaceNum = idleConf.GetOption(
1030 self.themeIsBuiltin.set(idleConf.GetOption(
1033 currentOption = idleConf.CurrentTheme()
1036 itemList = idleConf.GetSectionList('default', 'highlight')
1039 itemList = idleConf.GetSectionList('user', 'highlight')
1047 itemList = idleConf.GetSectionList('user', 'highlight')
1050 itemList = idleConf.GetSectionList('default', 'highlight')
1063 self.keysAreBuiltin.set(idleConf.GetOption(
1066 currentOption = idleConf.CurrentKeys()
1069 itemList = idleConf.GetSectionList('default', 'keys')
1072 itemList = idleConf.GetSectionList('user', 'keys')
1080 itemList = idleConf.GetSectionList('user', 'keys')
1083 itemList = idleConf.GetSectionList('default', 'keys')
1088 keySetName = idleConf.CurrentKeys()
1093 self.startupEdit.set(idleConf.GetOption(
1096 self.autoSave.set(idleConf.GetOption(
1099 self.winWidth.set(idleConf.GetOption(
1101 self.winHeight.set(idleConf.GetOption(
1104 self.encoding.set(idleConf.GetOption(
1107 self.userHelpList = idleConf.GetAllExtraHelpSourcesList()
1134 if not idleConf.userCfg['keys'].has_section(keySetName):
1135 idleConf.userCfg['keys'].add_section(keySetName)
1138 idleConf.userCfg['keys'].SetOption(keySetName, event, value)
1146 if not idleConf.userCfg['highlight'].has_section(themeName):
1147 idleConf.userCfg['highlight'].add_section(themeName)
1150 idleConf.userCfg['highlight'].SetOption(themeName, element, value)
1153 if idleConf.defaultCfg[configType].has_option(section, item):
1154 if idleConf.defaultCfg[configType].Get(section, item) == value:
1156 return idleConf.userCfg[configType].RemoveOption(section, item)
1158 return idleConf.userCfg[configType].SetOption(section, item, value)
1162 idleConf.userCfg['main'].Save()
1168 idleConf.userCfg['main'].remove_section('HelpFiles')
1175 idleConf.userCfg[configType].Save()
1178 idleConf.userCfg[configType].Save()
1237 self.ext_defaultCfg = idleConf.defaultCfg['extensions']
1238 self.ext_userCfg = idleConf.userCfg['extensions']
1274 for ext_name in idleConf.GetExtensions(active_only=False):