/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_configdialog.py | 13 from idlelib.configdialog import idleConf, changes, tracers 18 usercfg = idleConf.userCfg 36 idleConf.userCfg = testcfg 44 idleConf.userCfg = usercfg 214 default_font = idleConf.GetFont(root, 'main', 'EditorWindow') 311 for section in idleConf.GetSectionList('user', 'highlight'): 312 idleConf.userCfg['highlight'].remove_section(section) 325 idleConf.CurrentTheme = mock.Mock(return_value='IDLE Classic') 337 idleConf.SetOption('highlight', 'test1', 'option', 'value') 338 idleConf.SetOption('highlight', 'test2', 'option2', 'value2') [all …]
|
D | test_config.py | 21 idleConf = config.idleConf variable 22 usercfg = idleConf.userCfg 30 idleConf.userCfg = testcfg 34 idleConf.userCfg = usercfg 422 iGE = idleConf.GetExtensions 445 eq(idleConf.GetExtnNameForEvent('z-in'), 'ZzDummy') 446 eq(idleConf.GetExtnNameForEvent('z-out'), None) 454 self.assertEqual(idleConf.GetExtensionKeys('ZzDummy'), 467 iGEB = idleConf.GetExtensionBindings 596 colorkeys = idleConf.current_colors_and_keys [all …]
|
D | test_codecontext.py | 14 usercfg = codecontext.idleConf.userCfg 67 codecontext.idleConf.userCfg = testcfg 71 codecontext.idleConf.userCfg = usercfg 85 orig_idleConf_GetHighlight = codecontext.idleConf.GetHighlight 91 codecontext.idleConf, 'GetHighlight', mock_idleconf_GetHighlight) 99 codecontext.idleConf, 'GetFont', mock_idleconf_GetFont)
|
D | test_colorizer.py | 14 usercfg = colorizer.idleConf.userCfg 34 colorizer.idleConf.userCfg = testcfg 38 colorizer.idleConf.userCfg = usercfg 182 highlight = partial(config.idleConf.GetHighlight, theme='IDLE Classic') 192 highlight = partial(config.idleConf.GetHighlight, theme='IDLE Classic')
|
/external/python/cpython3/Lib/idlelib/ |
D | colorizer.py | 6 from idlelib.config import idleConf 41 theme = idleConf.CurrentTheme() 42 normal_colors = idleConf.GetHighlight(theme, 'normal') 43 cursor_color = idleConf.GetHighlight(theme, 'cursor')['foreground'] 44 select_colors = idleConf.GetHighlight(theme, 'hilite') 116 theme = idleConf.CurrentTheme() 118 "COMMENT": idleConf.GetHighlight(theme, "comment"), 119 "KEYWORD": idleConf.GetHighlight(theme, "keyword"), 120 "BUILTIN": idleConf.GetHighlight(theme, "builtin"), 121 "STRING": idleConf.GetHighlight(theme, "string"), [all …]
|
D | configdialog.py | 25 from idlelib.config import idleConf, ConfigChanges 273 self.ext_defaultCfg = idleConf.defaultCfg['extensions'] 274 self.ext_userCfg = idleConf.userCfg['extensions'] 312 for ext_name in idleConf.GetExtensions(active_only=False): 606 configured_font = idleConf.GetFont(self, 'main', 'EditorWindow') 678 space_num = idleConf.GetOption( 972 self.theme_source.set(idleConf.GetOption( 975 current_option = idleConf.CurrentTheme() 978 item_list = idleConf.GetSectionList('default', 'highlight') 981 item_list = idleConf.GetSectionList('user', 'highlight') [all …]
|
D | codecontext.py | 17 from idlelib.config import idleConf 77 cls.context_depth = idleConf.GetOption("extensions", "CodeContext", 128 line_number_colors = idleConf.GetHighlight(idleConf.CurrentTheme(), 245 font = idleConf.GetFont(self.text, 'main', 'EditorWindow') 250 colors = idleConf.GetHighlight(idleConf.CurrentTheme(), 'context') 255 line_number_colors = idleConf.GetHighlight(idleConf.CurrentTheme(),
|
D | parenmatch.py | 8 from idlelib.config import idleConf 53 cls.STYLE = idleConf.GetOption( 55 cls.FLASH_DELAY = idleConf.GetOption( 57 cls.BELL = idleConf.GetOption( 59 cls.HILITE_CONFIG = idleConf.GetHighlight(idleConf.CurrentTheme(),
|
D | zzdummy.py | 3 from idlelib.config import idleConf 5 ztext = idleConf.GetOption('extensions', 'ZzDummy', 'z-text') 23 cls.ztext = idleConf.GetOption('extensions', 'ZzDummy', 'z-text')
|
D | config.py | 766 idleConf = IdleConf() variable 801 for config_type in idleConf.config_types: 819 if idleConf.defaultCfg[config_type].has_option(section, item): 820 if idleConf.defaultCfg[config_type].Get(section, item) == value: 822 return idleConf.userCfg[config_type].RemoveOption(section, item) 824 return idleConf.userCfg[config_type].SetOption(section, item, value) 832 idleConf.userCfg['main'].Save() 840 idleConf.userCfg['main'].remove_section('HelpFiles') 846 idleConf.userCfg[config_type].Save() 850 idleConf.userCfg[config_type].Save() [all …]
|
D | mainmenu.py | 13 from idlelib.config import idleConf 121 default_keydefs = idleConf.GetCurrentKeySet()
|
D | sidebar.py | 8 from idlelib.config import idleConf 65 font = idleConf.GetFont(self.text, 'main', 'EditorWindow') 73 colors = idleConf.GetHighlight(idleConf.CurrentTheme(), 'normal') 281 colors = idleConf.GetHighlight(idleConf.CurrentTheme(), 'linenumber') 323 font = idleConf.GetFont(toplevel, 'main', 'EditorWindow')
|
D | editor.py | 18 from idlelib.config import idleConf 119 self.recent_files_path = idleConf.userdir and os.path.join( 120 idleConf.userdir, 'recent-files.lst') 125 width = idleConf.GetOption('main', 'EditorWindow', 'width', type='int') 133 'height': idleConf.GetOption( 215 text['font'] = idleConf.GetFont(self.root, 'main', 'EditorWindow') 229 usespaces = idleConf.GetOption('main', 'Indent', 247 if not hasattr(idleConf, 'blink_off_time'): 248 idleConf.blink_off_time = self.text['insertofftime'] 345 if idleConf.GetOption('main', 'EditorWindow', [all …]
|
D | browser.py | 16 from idlelib.config import idleConf 114 theme = idleConf.CurrentTheme() 115 background = idleConf.GetHighlight(theme, 'normal')['background']
|
D | history.py | 3 from idlelib.config import idleConf 27 self.cyclic = idleConf.GetOption("main", "History", "cyclic", 1, "bool")
|
D | pyshell.py | 50 from idlelib.config import idleConf 138 idleConf.userdir, 'breakpoints.lst') 164 theme = idleConf.CurrentTheme() 165 cfg = idleConf.GetHighlight(theme, "break") 350 theme = idleConf.CurrentTheme() 353 "stdout": idleConf.GetHighlight(theme, "stdout"), 354 "stderr": idleConf.GetHighlight(theme, "stderr"), 355 "console": idleConf.GetHighlight(theme, "console"), 432 del_exitf = idleConf.GetOption('main', 'General', 'delete-exitfunc', 641 theme = idleConf.CurrentTheme() [all …]
|
/external/python/cpython2/Lib/idlelib/ |
D | configDialog.py | 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')) [all …]
|
D | CodeContext.py | 16 from idlelib.configHandler import idleConf 28 context_depth = idleConf.GetOption("extensions", "CodeContext", 30 bgcolor = idleConf.GetOption("extensions", "CodeContext", 32 fgcolor = idleConf.GetOption("extensions", "CodeContext", 46 visible = idleConf.GetOption("extensions", "CodeContext", 87 idleConf.SetOption("extensions", "CodeContext", "visible", 89 idleConf.SaveUserCfgFiles()
|
D | ParenMatch.py | 9 from idlelib.configHandler import idleConf 45 STYLE = idleConf.GetOption('extensions','ParenMatch','style', 47 FLASH_DELAY = idleConf.GetOption('extensions','ParenMatch','flash-delay', 49 HILITE_CONFIG = idleConf.GetHighlight(idleConf.CurrentTheme(),'hilite') 50 BELL = idleConf.GetOption('extensions','ParenMatch','bell',
|
D | ColorDelegator.py | 6 from idlelib.configHandler import idleConf 65 theme = idleConf.CurrentTheme() 67 "COMMENT": idleConf.GetHighlight(theme, "comment"), 68 "KEYWORD": idleConf.GetHighlight(theme, "keyword"), 69 "BUILTIN": idleConf.GetHighlight(theme, "builtin"), 70 "STRING": idleConf.GetHighlight(theme, "string"), 71 "DEFINITION": idleConf.GetHighlight(theme, "definition"), 74 "ERROR": idleConf.GetHighlight(theme, "error"), 76 "hit": idleConf.GetHighlight(theme, "hit"),
|
D | Bindings.py | 11 from idlelib.configHandler import idleConf 91 default_keydefs = idleConf.GetCurrentKeySet()
|
D | EditorWindow.py | 17 from idlelib.configHandler import idleConf 178 self.recent_files_path = os.path.join(idleConf.GetUserCfgDir(), 182 self.width = idleConf.GetOption('main','EditorWindow','width', type='int') 189 'height': idleConf.GetOption('main', 'EditorWindow', 'height', type='int')} 262 text['font'] = idleConf.GetFont(self.root, 'main', 'EditorWindow') 276 usespaces = idleConf.GetOption('main', 'Indent', 'use-spaces', type='bool') 760 theme = idleConf.CurrentTheme() 761 normal_colors = idleConf.GetHighlight(theme, 'normal') 762 cursor_color = idleConf.GetHighlight(theme, 'cursor', fgBg='fg') 763 select_colors = idleConf.GetHighlight(theme, 'hilite') [all …]
|
D | IdleHistory.py | 3 from idlelib.configHandler import idleConf 26 self.cyclic = idleConf.GetOption("main", "History", "cyclic", 1, "bool")
|
D | ClassBrowser.py | 20 from idlelib.configHandler import idleConf 59 theme = idleConf.CurrentTheme() 60 background = idleConf.GetHighlight(theme, 'normal')['background']
|
D | PyShell.py | 32 from idlelib.configHandler import idleConf 135 self.breakpointPath = os.path.join(idleConf.GetUserCfgDir(), 161 theme = idleConf.CurrentTheme() 162 cfg = idleConf.GetHighlight(theme, "break") 346 theme = idleConf.CurrentTheme() 349 "stdout": idleConf.GetHighlight(theme, "stdout"), 350 "stderr": idleConf.GetHighlight(theme, "stderr"), 351 "console": idleConf.GetHighlight(theme, "console"), 419 del_exitf = idleConf.GetOption('main', 'General', 'delete-exitfunc', 634 theme = idleConf.CurrentTheme() [all …]
|