cpython/Lib/idlelib/config-extensions.def

55 lines
1.5 KiB
Modula-2
Raw Normal View History

2001-09-24 06:43:17 -03:00
# IDLE reads several config files to determine user preferences. This
# file is the default config file for idle extensions settings.
#
# Each extension must have at least one section, named after the extension
# module. This section must contain an 'enable' item (=1 to enable the
# extension, =0 to disable it) and also contains any other general
# configuration items for the extension. Each extension may also define up to
# two optional sections named ExtensionName_bindings and
# ExtensionName_cfgBindings. If present, ExtensionName_bindings defines virtual
# event bindings for the extension that are not sensibly re-configurable. If
# present, ExtensionName_cfgBindings defines virtual event bindings for the
# extension that may be sensibly re-configured.
2002-02-10 23:45:22 -04:00
# See config-keys.def for notes on specifying keys.
2001-09-24 06:43:17 -03:00
[FormatParagraph]
2001-09-24 06:43:17 -03:00
enable=1
[FormatParagraph_cfgBindings]
format-paragraph=<Alt-Key-q>
2001-09-24 06:43:17 -03:00
[AutoExpand]
2001-09-24 06:43:17 -03:00
enable=1
[AutoExpand_cfgBindings]
expand-word=<Alt-Key-slash>
2001-09-24 06:43:17 -03:00
[ZoomHeight]
enable=1
[ZoomHeight_cfgBindings]
zoom-height=<Alt-Key-2>
[ScriptBinding]
enable=1
[ScriptBinding_cfgBindings]
run-module=<Key-F5>
check-module=<Alt-Key-x>
2001-09-24 06:43:17 -03:00
[CallTips]
enable=1
[CallTips_bindings]
paren-open=<Key-parenleft>
paren-close=<Key-parenright>
check-calltip-cancel=<KeyRelease>
calltip-cancel=<ButtonPress> <Key-Escape>
2001-09-24 06:43:17 -03:00
[ParenMatch]
enable=0
style= expression
flash-delay= 500
bell= 1
hilite-foreground= black
hilite-background= #43cd80
[ParenMatch_bindings]
flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
check-restore=<KeyPress>