openmedialibrary_platform/Darwin/lib/python3.5/idlelib/config-extensions.def

100 lines
2.9 KiB
Modula-2
Raw Normal View History

2013-10-11 17:28:32 +00:00
# config-extensions.def
#
# IDLE reads several config files to determine user preferences. This
# file is the default configuration file for IDLE extensions settings.
#
2015-11-25 01:25:01 +00:00
# Each extension must have at least one section, named after the
# extension module. This section must contain an 'enable' item (=True to
# enable the extension, =False to disable it), it may contain
# 'enable_editor' or 'enable_shell' items, to apply it only to editor ir
# shell windows, and may also contain any other general configuration
# items for the extension. Other True/False values will also be
# recognized as boolean by the Extension Configuration dialog.
2013-10-11 17:28:32 +00:00
#
2015-11-25 01:25:01 +00:00
# Each extension must define at least one section named
# ExtensionName_bindings or ExtensionName_cfgBindings. If present,
# ExtensionName_bindings defines virtual event bindings for the
# extension that are not user re-configurable. If present,
# ExtensionName_cfgBindings defines virtual event bindings for the
2013-10-11 17:28:32 +00:00
# extension that may be sensibly re-configured.
#
2015-11-25 01:25:01 +00:00
# If there are no keybindings for a menus' virtual events, include lines
# like <<toggle-code-context>>= (See [CodeContext], below.)
2013-10-11 17:28:32 +00:00
#
2015-11-25 01:25:01 +00:00
# Currently it is necessary to manually modify this file to change
# extension key bindings and default values. To customize, create
2013-10-11 17:28:32 +00:00
# ~/.idlerc/config-extensions.cfg and append the appropriate customized
# section(s). Those sections will override the defaults in this file.
#
2015-11-25 01:25:01 +00:00
# Note: If a keybinding is already in use when the extension is loaded,
# the extension's virtual event's keybinding will be set to ''.
2013-10-11 17:28:32 +00:00
#
# See config-keys.def for notes on specifying keys and extend.txt for
# information on creating IDLE extensions.
2015-11-25 01:25:01 +00:00
[AutoComplete]
enable=True
popupwait=2000
[AutoComplete_cfgBindings]
force-open-completions=<Control-Key-space>
[AutoComplete_bindings]
autocomplete=<Key-Tab>
try-open-completions=<KeyRelease-period> <KeyRelease-slash> <KeyRelease-backslash>
2013-10-11 17:28:32 +00:00
[AutoExpand]
2015-11-25 01:25:01 +00:00
enable=True
2013-10-11 17:28:32 +00:00
[AutoExpand_cfgBindings]
2015-11-25 01:25:01 +00:00
expand-word=<Option-Key-slash>
2013-10-11 17:28:32 +00:00
[CallTips]
2015-11-25 01:25:01 +00:00
enable=True
2013-10-11 17:28:32 +00:00
[CallTips_cfgBindings]
force-open-calltip=<Control-Key-backslash>
[CallTips_bindings]
try-open-calltip=<KeyRelease-parenleft>
refresh-calltip=<KeyRelease-parenright> <KeyRelease-0>
2015-11-25 01:25:01 +00:00
[CodeContext]
enable=True
enable_shell=False
numlines=3
visible=False
bgcolor=LightGray
fgcolor=Black
[CodeContext_bindings]
toggle-code-context=
[FormatParagraph]
enable=True
max-width=72
[FormatParagraph_cfgBindings]
format-paragraph=<Option-Key-q>
2013-10-11 17:28:32 +00:00
[ParenMatch]
2015-11-25 01:25:01 +00:00
enable=True
2013-10-11 17:28:32 +00:00
style= expression
flash-delay= 500
2015-11-25 01:25:01 +00:00
bell=True
2013-10-11 17:28:32 +00:00
[ParenMatch_cfgBindings]
flash-paren=<Control-Key-0>
[ParenMatch_bindings]
paren-closed=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
[RstripExtension]
2015-11-25 01:25:01 +00:00
enable=True
enable_shell=False
enable_editor=True
2013-10-11 17:28:32 +00:00
2015-11-25 01:25:01 +00:00
[ScriptBinding]
enable=True
enable_shell=False
enable_editor=True
[ScriptBinding_cfgBindings]
run-module=<Key-F5>
check-module=<Option-Key-x>
[ZoomHeight]
enable=True
[ZoomHeight_cfgBindings]
zoom-height=<Option-Key-0>