summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-09-14 00:50:44 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2002-09-14 00:50:44 (GMT)
commit0c9b61738bd1b674594956a8e4e511c3f8f5501c (patch)
tree222973b4c037727895470aa8d1add59e930c7ef2 /Lib
parentdcfd825c110a0d4c63d5cfe82c9d2026fe16091c (diff)
downloadcpython-0c9b61738bd1b674594956a8e4e511c3f8f5501c.zip
cpython-0c9b61738bd1b674594956a8e4e511c3f8f5501c.tar.gz
cpython-0c9b61738bd1b674594956a8e4e511c3f8f5501c.tar.bz2
Bindings.py
AutoIndent merged 21Jul cleanup and remove references to config backend 06Aug
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/Bindings.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/Lib/idlelib/Bindings.py b/Lib/idlelib/Bindings.py
index 06e215e..2d5d7bb 100644
--- a/Lib/idlelib/Bindings.py
+++ b/Lib/idlelib/Bindings.py
@@ -5,16 +5,8 @@
# skipped by the code here. This makes it possible to define the
# Debug menu here, which is only present in the PythonShell window.
-# changes by dscherer@cmu.edu:
-# - Python shell moved to 'Run' menu
-# - "Help" renamed to "IDLE Help" to distinguish from Python help.
-# The distinction between the environment and the language is dim
-# or nonexistent in a novice's mind.
-# - Silly advice added
-
import sys
import string
-#from keydefs import *
from configHandler import idleConf
menudefs = [
@@ -51,6 +43,16 @@ menudefs = [
('R_eplace...', '<<replace>>'),
('Go to _line', '<<goto-line>>'),
]),
+('format', [
+ ('_Indent region', '<<indent-region>>'),
+ ('_Dedent region', '<<dedent-region>>'),
+ ('Comment _out region', '<<comment-region>>'),
+ ('U_ncomment region', '<<uncomment-region>>'),
+ ('Tabify region', '<<tabify-region>>'),
+ ('Untabify region', '<<untabify-region>>'),
+ ('Toggle tabs', '<<toggle-tabs>>'),
+ ('New indent width', '<<change-indentwidth>>'),
+]),
('run',[
('Python shell', '<<open-python-shell>>'),
]),