mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
610c7e07f3
commit
d00587a2ed
3 changed files with 43 additions and 27 deletions
|
@ -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=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue