jpayne@68
|
1 # config-extensions.def
|
jpayne@68
|
2 #
|
jpayne@68
|
3 # The following sections are for features that are no longer extensions.
|
jpayne@68
|
4 # Their options values are left here for back-compatibility.
|
jpayne@68
|
5
|
jpayne@68
|
6 [AutoComplete]
|
jpayne@68
|
7 popupwait= 2000
|
jpayne@68
|
8
|
jpayne@68
|
9 [CodeContext]
|
jpayne@68
|
10 maxlines= 15
|
jpayne@68
|
11
|
jpayne@68
|
12 [FormatParagraph]
|
jpayne@68
|
13 max-width= 72
|
jpayne@68
|
14
|
jpayne@68
|
15 [ParenMatch]
|
jpayne@68
|
16 style= expression
|
jpayne@68
|
17 flash-delay= 500
|
jpayne@68
|
18 bell= True
|
jpayne@68
|
19
|
jpayne@68
|
20 # IDLE reads several config files to determine user preferences. This
|
jpayne@68
|
21 # file is the default configuration file for IDLE extensions settings.
|
jpayne@68
|
22 #
|
jpayne@68
|
23 # Each extension must have at least one section, named after the
|
jpayne@68
|
24 # extension module. This section must contain an 'enable' item (=True to
|
jpayne@68
|
25 # enable the extension, =False to disable it), it may contain
|
jpayne@68
|
26 # 'enable_editor' or 'enable_shell' items, to apply it only to editor ir
|
jpayne@68
|
27 # shell windows, and may also contain any other general configuration
|
jpayne@68
|
28 # items for the extension. Other True/False values will also be
|
jpayne@68
|
29 # recognized as boolean by the Extension Configuration dialog.
|
jpayne@68
|
30 #
|
jpayne@68
|
31 # Each extension must define at least one section named
|
jpayne@68
|
32 # ExtensionName_bindings or ExtensionName_cfgBindings. If present,
|
jpayne@68
|
33 # ExtensionName_bindings defines virtual event bindings for the
|
jpayne@68
|
34 # extension that are not user re-configurable. If present,
|
jpayne@68
|
35 # ExtensionName_cfgBindings defines virtual event bindings for the
|
jpayne@68
|
36 # extension that may be sensibly re-configured.
|
jpayne@68
|
37 #
|
jpayne@68
|
38 # If there are no keybindings for a menus' virtual events, include lines
|
jpayne@68
|
39 # like <<toggle-code-context>>=.
|
jpayne@68
|
40 #
|
jpayne@68
|
41 # Currently it is necessary to manually modify this file to change
|
jpayne@68
|
42 # extension key bindings and default values. To customize, create
|
jpayne@68
|
43 # ~/.idlerc/config-extensions.cfg and append the appropriate customized
|
jpayne@68
|
44 # section(s). Those sections will override the defaults in this file.
|
jpayne@68
|
45 #
|
jpayne@68
|
46 # Note: If a keybinding is already in use when the extension is loaded,
|
jpayne@68
|
47 # the extension's virtual event's keybinding will be set to ''.
|
jpayne@68
|
48 #
|
jpayne@68
|
49 # See config-keys.def for notes on specifying keys and extend.txt for
|
jpayne@68
|
50 # information on creating IDLE extensions.
|
jpayne@68
|
51
|
jpayne@68
|
52 # A fake extension for testing and example purposes. When enabled and
|
jpayne@68
|
53 # invoked, inserts or deletes z-text at beginning of every line.
|
jpayne@68
|
54 [ZzDummy]
|
jpayne@68
|
55 enable= False
|
jpayne@68
|
56 enable_shell = False
|
jpayne@68
|
57 enable_editor = True
|
jpayne@68
|
58 z-text= Z
|
jpayne@68
|
59 [ZzDummy_cfgBindings]
|
jpayne@68
|
60 z-in= <Control-Shift-KeyRelease-Insert>
|
jpayne@68
|
61 [ZzDummy_bindings]
|
jpayne@68
|
62 z-out= <Control-Shift-KeyRelease-Delete>
|