source: python/vendor/Python-2.7.6/Lib/idlelib/config-extensions.def

Last change on this file was 388, checked in by dmik, 11 years ago

python: Update vendor to 2.7.6.

  • Property svn:eol-style set to native
File size: 2.7 KB
Line 
1# config-extensions.def
2#
3# IDLE reads several config files to determine user preferences. This
4# file is the default configuration file for IDLE extensions settings.
5#
6# Each extension must have at least one section, named after the extension
7# module. This section must contain an 'enable' item (=1 to enable the
8# extension, =0 to disable it), it may contain 'enable_editor' or 'enable_shell'
9# items, to apply it only to editor/shell windows, and may also contain any
10# other general configuration items for the extension.
11#
12# Each extension must define at least one section named ExtensionName_bindings
13# or ExtensionName_cfgBindings. If present, ExtensionName_bindings defines
14# virtual event bindings for the extension that are not user re-configurable.
15# If present, ExtensionName_cfgBindings defines virtual event bindings for the
16# extension that may be sensibly re-configured.
17#
18# If there are no keybindings for a menus' virtual events, include lines like
19# <<toggle-code-context>>= (See [CodeContext], below.)
20#
21# Currently it is necessary to manually modify this file to change extension
22# key bindings and default values. To customize, create
23# ~/.idlerc/config-extensions.cfg and append the appropriate customized
24# section(s). Those sections will override the defaults in this file.
25#
26# Note: If a keybinding is already in use when the extension is
27# loaded, the extension's virtual event's keybinding will be set to ''.
28#
29# See config-keys.def for notes on specifying keys and extend.txt for
30# information on creating IDLE extensions.
31
32[FormatParagraph]
33enable=1
34[FormatParagraph_cfgBindings]
35format-paragraph=<Alt-Key-q>
36
37[AutoExpand]
38enable=1
39[AutoExpand_cfgBindings]
40expand-word=<Alt-Key-slash>
41
42[ZoomHeight]
43enable=1
44[ZoomHeight_cfgBindings]
45zoom-height=<Alt-Key-2>
46
47[ScriptBinding]
48enable=1
49enable_shell=0
50enable_editor=1
51[ScriptBinding_cfgBindings]
52run-module=<Key-F5>
53check-module=<Alt-Key-x>
54
55[CallTips]
56enable=1
57[CallTips_cfgBindings]
58force-open-calltip=<Control-Key-backslash>
59[CallTips_bindings]
60try-open-calltip=<KeyRelease-parenleft>
61refresh-calltip=<KeyRelease-parenright> <KeyRelease-0>
62
63[ParenMatch]
64enable=1
65style= expression
66flash-delay= 500
67bell= 1
68[ParenMatch_cfgBindings]
69flash-paren=<Control-Key-0>
70[ParenMatch_bindings]
71paren-closed=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
72
73[AutoComplete]
74enable=1
75popupwait=2000
76[AutoComplete_cfgBindings]
77force-open-completions=<Control-Key-space>
78[AutoComplete_bindings]
79autocomplete=<Key-Tab>
80try-open-completions=<KeyRelease-period> <KeyRelease-slash> <KeyRelease-backslash>
81
82[CodeContext]
83enable=1
84enable_shell=0
85numlines=3
86visible=0
87bgcolor=LightGray
88fgcolor=Black
89[CodeContext_bindings]
90toggle-code-context=
91
92[RstripExtension]
93enable=1
94enable_shell=0
95enable_editor=1
96
Note: See TracBrowser for help on using the repository browser.