mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +00:00
Bindings.py
AutoIndent merged 21Jul cleanup and remove references to config backend 06Aug
This commit is contained in:
parent
dcfd825c11
commit
0c9b61738b
1 changed files with 10 additions and 8 deletions
|
@ -5,16 +5,8 @@
|
||||||
# skipped by the code here. This makes it possible to define the
|
# skipped by the code here. This makes it possible to define the
|
||||||
# Debug menu here, which is only present in the PythonShell window.
|
# 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 sys
|
||||||
import string
|
import string
|
||||||
#from keydefs import *
|
|
||||||
from configHandler import idleConf
|
from configHandler import idleConf
|
||||||
|
|
||||||
menudefs = [
|
menudefs = [
|
||||||
|
@ -51,6 +43,16 @@ menudefs = [
|
||||||
('R_eplace...', '<<replace>>'),
|
('R_eplace...', '<<replace>>'),
|
||||||
('Go to _line', '<<goto-line>>'),
|
('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',[
|
('run',[
|
||||||
('Python shell', '<<open-python-shell>>'),
|
('Python shell', '<<open-python-shell>>'),
|
||||||
]),
|
]),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue