1. Add an Options menu entry: Code Context

2. Add a <<toggle-code-context>> envent to the [CodeContext] section of
   config-extensions.def and also a default-on variable, set to 0.
3. Update the help file to include Code Context.

M CodeContext.py
M config-extensions.def
M help.txt
This commit is contained in:
Kurt B. Kaiser 2004-04-24 03:08:13 +00:00
parent 610c7e07f3
commit d00587a2ed
3 changed files with 43 additions and 27 deletions

View file

@ -3,13 +3,14 @@
#
# 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 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.
# 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.)
# Currently it is necessary to manually modify this file to change extension
# key bindings and default values. To customize, create
@ -65,5 +66,8 @@ check-restore=<KeyPress>
[CodeContext]
enable=1
numlines=3
default_on=0
bgcolor=LightGray
fgcolor=Black
[CodeContext_bindings]
toggle-code-context=