Lines Matching +full:xquartz +full:-
3 Refer to the comments at the beginning of config-main.def for a description of
40 cfgFile - string, fully specified configuration file name
147 Default config files, self.defaultCfg --
149 (idle install dir)/config-{config-type}.def
151 User config files, self.userCfg --
153 (user home dir)/.idlerc/config-{config-type}.cfg
178 idleDir, 'config-' + cfgType + '.def')
180 userDir, 'config-' + cfgType + '.cfg')
234 warning = ('\n Warning: configHandler.py - IdleConf.GetOption -\n'
251 warning = ('\n Warning: configHandler.py - IdleConf.GetOption -\n'
285 fgBg - string ('fg' or 'bg') or None.
295 fore = themeDict[element + '-foreground']
297 back = themeDict['normal-background']
299 back = themeDict[element + '-background']
314 type - string, 'default' or 'user' theme type
315 themeName - string, theme name
330 theme ={'normal-foreground':'#000000',
331 'normal-background':'#ffffff',
332 'keyword-foreground':'#000000',
333 'keyword-background':'#ffffff',
334 'builtin-foreground':'#000000',
335 'builtin-background':'#ffffff',
336 'comment-foreground':'#000000',
337 'comment-background':'#ffffff',
338 'string-foreground':'#000000',
339 'string-background':'#ffffff',
340 'definition-foreground':'#000000',
341 'definition-background':'#ffffff',
342 'hilite-foreground':'#000000',
343 'hilite-background':'gray',
344 'break-foreground':'#ffffff',
345 'break-background':'#000000',
346 'hit-foreground':'#ffffff',
347 'hit-background':'#000000',
348 'error-foreground':'#ffffff',
349 'error-background':'#000000',
351 'cursor-foreground':'#000000',
353 'stdout-foreground':'#000000',
354 'stdout-background':'#ffffff',
355 'stderr-foreground':'#000000',
356 'stderr-background':'#ffffff',
357 'console-foreground':'#000000',
358 'console-background':'#ffffff' }
363 ' -\n problem retrieving theme element %r'
378 idlelib.config-main.def includes this section
383 # name2 set in user config-main.cfg for themes added after 2015 Oct 1
408 """Return extensions in default and user config-extensions files.
458 virtualEvent - string, name of the virtual event to test for,
508 Augment self.GetExtensionKeys(extensionName) with mapping of non-
514 #add the non-configurable bindings
528 keySetName - name of key binding set (config-keys section).
529 eventStr - virtual event, including brackets, as in '<<event>>'.
531 eventName = eventStr[2:-2] #trim off the angle brackets
544 # Cocoa Tk and XQuartz Tk so we should not use it
547 v2 = [ x.replace('<Alt-', '<Option-') for x in v ]
554 """Return event-key dict for keySetName core plus active extensions.
574 virtualEvent - string, name of the virtual event to test for,
583 """Return dict of core virtual-key keybindings for keySetName.
589 resort fallback' to the CUA-ish bindings defined here.
592 '<<copy>>': ['<Control-c>', '<Control-C>'],
593 '<<cut>>': ['<Control-x>', '<Control-X>'],
594 '<<paste>>': ['<Control-v>', '<Control-V>'],
595 '<<beginning-of-line>>': ['<Control-a>', '<Home>'],
596 '<<center-insert>>': ['<Control-l>'],
597 '<<close-all-windows>>': ['<Control-q>'],
598 '<<close-window>>': ['<Alt-F4>'],
599 '<<do-nothing>>': ['<Control-x>'],
600 '<<end-of-file>>': ['<Control-d>'],
601 '<<python-docs>>': ['<F1>'],
602 '<<python-context-help>>': ['<Shift-F1>'],
603 '<<history-next>>': ['<Alt-n>'],
604 '<<history-previous>>': ['<Alt-p>'],
605 '<<interrupt-execution>>': ['<Control-c>'],
606 '<<view-restart>>': ['<F6>'],
607 '<<restart-shell>>': ['<Control-F6>'],
608 '<<open-class-browser>>': ['<Alt-c>'],
609 '<<open-module>>': ['<Alt-m>'],
610 '<<open-new-window>>': ['<Control-n>'],
611 '<<open-window-from-file>>': ['<Control-o>'],
612 '<<plain-newline-and-indent>>': ['<Control-j>'],
613 '<<print-window>>': ['<Control-p>'],
614 '<<redo>>': ['<Control-y>'],
615 '<<remove-selection>>': ['<Escape>'],
616 '<<save-copy-of-window-as-file>>': ['<Alt-Shift-S>'],
617 '<<save-window-as-file>>': ['<Alt-s>'],
618 '<<save-window>>': ['<Control-s>'],
619 '<<select-all>>': ['<Alt-a>'],
620 '<<toggle-auto-coloring>>': ['<Control-slash>'],
621 '<<undo>>': ['<Control-z>'],
622 '<<find-again>>': ['<Control-g>', '<F3>'],
623 '<<find-in-files>>': ['<Alt-F3>'],
624 '<<find-selection>>': ['<Control-F3>'],
625 '<<find>>': ['<Control-f>'],
626 '<<replace>>': ['<Control-h>'],
627 '<<goto-line>>': ['<Alt-g>'],
628 '<<smart-backspace>>': ['<Key-BackSpace>'],
629 '<<newline-and-indent>>': ['<Key-Return>', '<Key-KP_Enter>'],
630 '<<smart-indent>>': ['<Key-Tab>'],
631 '<<indent-region>>': ['<Control-Key-bracketright>'],
632 '<<dedent-region>>': ['<Control-Key-bracketleft>'],
633 '<<comment-region>>': ['<Alt-Key-3>'],
634 '<<uncomment-region>>': ['<Alt-Key-4>'],
635 '<<tabify-region>>': ['<Alt-Key-5>'],
636 '<<untabify-region>>': ['<Alt-Key-6>'],
637 '<<toggle-tabs>>': ['<Alt-Key-t>'],
638 '<<change-indentwidth>>': ['<Alt-Key-u>'],
639 '<<del-word-left>>': ['<Control-Key-BackSpace>'],
640 '<<del-word-right>>': ['<Control-Key-Delete>']
648 warning=('\n Warning: configHandler.py - IdleConf.GetCoreKeys'
649 ' -\n problem retrieving key binding for event %r'
679 if value.find(';') == -1: #malformed config entry with no ';'
701 """Retrieve a font from configuration (font, font-size, font-bold)
712 size = self.GetOption(configType, section, 'font-size', type='int',
714 bold = self.GetOption(configType, section, 'font-bold', default=0,
753 crc = crc32(txt.encode(encoding='utf-8'), crc)