summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/config-extensions.def
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2004-04-21 20:06:26 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2004-04-21 20:06:26 (GMT)
commit54d1a3b920ad3aecee4e4a3ba5ba24bd2ce55148 (patch)
tree0672112cee3a6d2ac40ced134cc93547b48c7b7c /Lib/idlelib/config-extensions.def
parent9f62eccb6657abd5c6a4a4694e6fe8c80f8ccb12 (diff)
downloadcpython-54d1a3b920ad3aecee4e4a3ba5ba24bd2ce55148.zip
cpython-54d1a3b920ad3aecee4e4a3ba5ba24bd2ce55148.tar.gz
cpython-54d1a3b920ad3aecee4e4a3ba5ba24bd2ce55148.tar.bz2
- New Extension: CodeContext. Provides block structuring hints for code
which has scrolled above an edit window. Patch 936169 Noam Raphael. A CodeContext.py M NEWS.txt M config-extensions.def
Diffstat (limited to 'Lib/idlelib/config-extensions.def')
-rw-r--r--Lib/idlelib/config-extensions.def17
1 files changed, 14 insertions, 3 deletions
diff --git a/Lib/idlelib/config-extensions.def b/Lib/idlelib/config-extensions.def
index 1a02805..00162a0 100644
--- a/Lib/idlelib/config-extensions.def
+++ b/Lib/idlelib/config-extensions.def
@@ -3,7 +3,7 @@
#
# 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
+# extension, =0 to disable it) and also contain 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
@@ -12,10 +12,15 @@
# extension that may be sensibly re-configured.
# Currently it is necessary to manually modify this file to change extension
-# key bindings. Note: If a keybinding is already in use when the extension is
+# 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.
+# See config-keys.def for notes on specifying keys and extend.txt for
+# information on creating IDLE extensions.
[FormatParagraph]
enable=1
@@ -56,3 +61,9 @@ hilite-background= #43cd80
[ParenMatch_bindings]
flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
check-restore=<KeyPress>
+
+[CodeContext]
+enable=1
+numlines=3
+bgcolor=LightGray
+fgcolor=Black