Kurt B. Kaiser | 282f122 | 2003-05-18 02:21:55 +0000 | [diff] [blame] | 1 | # IDLE reads several config files to determine user preferences. This |
Kurt B. Kaiser | cca9122 | 2003-07-16 03:10:43 +0000 | [diff] [blame] | 2 | # file is the default configuration file for IDLE extensions settings. |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 3 | # |
| 4 | # Each extension must have at least one section, named after the extension |
Kurt B. Kaiser | 318016b | 2002-12-03 20:34:43 +0000 | [diff] [blame] | 5 | # module. This section must contain an 'enable' item (=1 to enable the |
Kurt B. Kaiser | d00587a | 2004-04-24 03:08:13 +0000 | [diff] [blame^] | 6 | # extension, =0 to disable it) and also contain any other general configuration |
| 7 | # items for the extension. Each extension must define at least one section |
| 8 | # named ExtensionName_bindings or ExtensionName_cfgBindings. If present, |
| 9 | # ExtensionName_bindings defines virtual event bindings for the extension that |
| 10 | # are not user re-configurable. If present, ExtensionName_cfgBindings |
| 11 | # defines virtual event bindings for the extension that may be sensibly |
| 12 | # re-configured. If there are no keybindings for a menus' virtual events, |
| 13 | # include lines like <<toggle-code-context>>= (See [CodeContext], below.) |
Kurt B. Kaiser | 318016b | 2002-12-03 20:34:43 +0000 | [diff] [blame] | 14 | |
Kurt B. Kaiser | cca9122 | 2003-07-16 03:10:43 +0000 | [diff] [blame] | 15 | # Currently it is necessary to manually modify this file to change extension |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 16 | # key bindings and default values. To customize, create |
| 17 | # ~/.idlerc/config-extensions.cfg and append the appropriate customized |
| 18 | # section(s). Those sections will override the defaults in this file. |
| 19 | |
| 20 | # Note: If a keybinding is already in use when the extension is |
Kurt B. Kaiser | cca9122 | 2003-07-16 03:10:43 +0000 | [diff] [blame] | 21 | # loaded, the extension's virtual event's keybinding will be set to ''. |
| 22 | |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 23 | # See config-keys.def for notes on specifying keys and extend.txt for |
| 24 | # information on creating IDLE extensions. |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 25 | |
Steven M. Gava | 0cae01c | 2002-01-04 07:53:06 +0000 | [diff] [blame] | 26 | [FormatParagraph] |
| 27 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 28 | [FormatParagraph_cfgBindings] |
| 29 | format-paragraph=<Alt-Key-q> |
Steven M. Gava | 0cae01c | 2002-01-04 07:53:06 +0000 | [diff] [blame] | 30 | |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 31 | [AutoExpand] |
| 32 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 33 | [AutoExpand_cfgBindings] |
| 34 | expand-word=<Alt-Key-slash> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 35 | |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 36 | [ZoomHeight] |
| 37 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 38 | [ZoomHeight_cfgBindings] |
Kurt B. Kaiser | 710fa6c | 2002-12-23 03:35:27 +0000 | [diff] [blame] | 39 | zoom-height=<Alt-Key-2> |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 40 | |
Kurt B. Kaiser | 969de45 | 2002-06-12 03:28:57 +0000 | [diff] [blame] | 41 | [ScriptBinding] |
| 42 | enable=1 |
| 43 | [ScriptBinding_cfgBindings] |
Kurt B. Kaiser | eb9637e | 2003-01-26 04:17:16 +0000 | [diff] [blame] | 44 | run-module=<Key-F5> |
Kurt B. Kaiser | 318016b | 2002-12-03 20:34:43 +0000 | [diff] [blame] | 45 | check-module=<Alt-Key-x> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 46 | |
| 47 | [CallTips] |
| 48 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 49 | [CallTips_bindings] |
| 50 | paren-open=<Key-parenleft> |
| 51 | paren-close=<Key-parenright> |
| 52 | check-calltip-cancel=<KeyRelease> |
| 53 | calltip-cancel=<ButtonPress> <Key-Escape> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 54 | |
| 55 | [ParenMatch] |
| 56 | enable=0 |
| 57 | style= expression |
| 58 | flash-delay= 500 |
| 59 | bell= 1 |
| 60 | hilite-foreground= black |
| 61 | hilite-background= #43cd80 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 62 | [ParenMatch_bindings] |
| 63 | flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright> |
| 64 | check-restore=<KeyPress> |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 65 | |
| 66 | [CodeContext] |
| 67 | enable=1 |
| 68 | numlines=3 |
Kurt B. Kaiser | d00587a | 2004-04-24 03:08:13 +0000 | [diff] [blame^] | 69 | default_on=0 |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 70 | bgcolor=LightGray |
| 71 | fgcolor=Black |
Kurt B. Kaiser | d00587a | 2004-04-24 03:08:13 +0000 | [diff] [blame^] | 72 | [CodeContext_bindings] |
| 73 | toggle-code-context= |