summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/config-extensions.def
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2004-06-06 01:29:22 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2004-06-06 01:29:22 (GMT)
commit4d5bc6031ca883201f87e0e3c94e5746f9f91439 (patch)
treebebdc12778178ff31a076a6e6709e705531fc7c7 /Lib/idlelib/config-extensions.def
parentcfa157d808d387551e3973c6e4e8e5eebca3b051 (diff)
downloadcpython-4d5bc6031ca883201f87e0e3c94e5746f9f91439.zip
cpython-4d5bc6031ca883201f87e0e3c94e5746f9f91439.tar.gz
cpython-4d5bc6031ca883201f87e0e3c94e5746f9f91439.tar.bz2
Noam Raphel: Further developemt of CodeContext feature.
The visibility state of the code context pane is now persistent between sessions and the pane does not appear in the shell window. M CodeContext.py M EditorWindow.py M NEWS.txt M PyShell.py M config-extensions.def M configHandler.py
Diffstat (limited to 'Lib/idlelib/config-extensions.def')
-rw-r--r--Lib/idlelib/config-extensions.def31
1 files changed, 19 insertions, 12 deletions
diff --git a/Lib/idlelib/config-extensions.def b/Lib/idlelib/config-extensions.def
index 39f9098..4a4055f 100644
--- a/Lib/idlelib/config-extensions.def
+++ b/Lib/idlelib/config-extensions.def
@@ -1,25 +1,31 @@
+# config-extensions.def
+#
# IDLE reads several config files to determine user preferences. This
# file is the default configuration 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 contain any other general configuration
-# items for the extension. 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 extension that may be sensibly
-# re-configured. If there are no keybindings for a menus' virtual events,
-# include lines like <<toggle-code-context>>= (See [CodeContext], below.)
-
+# extension, =0 to disable it), it may contain 'enable_editor' or 'enable_shell'
+# items, to apply it only to editor/shell windows, and may also contain any
+# other general configuration items for the extension.
+#
+# 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
+# extension that may be sensibly re-configured.
+#
+# If there are no keybindings for a menus' virtual events, include lines like
+# <<toggle-code-context>>= (See [CodeContext], below.)
+#
# Currently it is necessary to manually modify this file to change extension
# key bindings and default values. To customize, create
# ~/.idlerc/config-extensions.cfg and append the appropriate customized
# section(s). Those sections will override the defaults in this file.
-
+#
# Note: If a keybinding is already in use when the extension is
# loaded, the extension's virtual event's keybinding will be set to ''.
-
+#
# See config-keys.def for notes on specifying keys and extend.txt for
# information on creating IDLE extensions.
@@ -65,8 +71,9 @@ check-restore=<KeyPress>
[CodeContext]
enable=1
+enable_shell=0
numlines=3
-default_on=0
+visible=0
bgcolor=LightGray
fgcolor=Black
[CodeContext_bindings]