From 0c9b61738bd1b674594956a8e4e511c3f8f5501c Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Sat, 14 Sep 2002 00:50:44 +0000 Subject: Bindings.py AutoIndent merged 21Jul cleanup and remove references to config backend 06Aug --- Lib/idlelib/Bindings.py | 18 ++++++++++-------- 1 file 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...', '<>'), ('Go to _line', '<>'), ]), +('format', [ + ('_Indent region', '<>'), + ('_Dedent region', '<>'), + ('Comment _out region', '<>'), + ('U_ncomment region', '<>'), + ('Tabify region', '<>'), + ('Untabify region', '<>'), + ('Toggle tabs', '<>'), + ('New indent width', '<>'), +]), ('run',[ ('Python shell', '<>'), ]), -- cgit v0.12