Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
baf53b4e
Commit
baf53b4e
authored
Oct 16, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of conflicting ^X binding. Use ^W.
parent
5188a25e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
Tools/idle/Bindings.py
Tools/idle/Bindings.py
+5
-3
Tools/idle/EditorWindow.py
Tools/idle/EditorWindow.py
+1
-0
Tools/idle/README
Tools/idle/README
+1
-5
No files found.
Tools/idle/Bindings.py
View file @
baf53b4e
...
...
@@ -82,9 +82,9 @@ emacs_bindings = [
(
"edit"
,
"Redo"
,
"Alt-z"
,
"<<redo>>"
,
"<Alt-z>"
,
"<Meta-z>"
),
(
"edit"
,
None
,
None
),
(
"edit"
,
"Cut"
,
None
,
"<<Cut>>"
),
(
"edit"
,
"Copy"
,
None
,
"<<Copy>>"
),
(
"edit"
,
"Paste"
,
None
,
"<<Paste>>"
),
(
"edit"
,
"Cut"
,
None
,
"<<Cut>>"
,
"<Control-w>"
),
(
"edit"
,
"Copy"
,
None
,
"<<Copy>>"
,
"<Alt-w>"
),
(
"edit"
,
"Paste"
,
None
,
"<<Paste>>"
,
"<Control-y>"
),
(
"edit"
,
None
,
None
),
(
"edit"
,
"Find..."
,
"C-s"
,
...
...
@@ -136,6 +136,8 @@ emacs_bindings = [
(
None
,
None
,
None
,
"<<toggle-auto-coloring>>"
,
"<Control-slash>"
),
(
None
,
None
,
None
,
"<<dump-undo-state>>"
,
"<Control-backslash>"
),
(
None
,
None
,
None
,
"<<do-nothing>>"
,
"<Control-x>"
),
]
default_bindings
=
emacs_bindings
...
...
Tools/idle/EditorWindow.py
View file @
baf53b4e
...
...
@@ -45,6 +45,7 @@ class EditorWindow:
self
.
text
.
bind
(
"<<help>>"
,
self
.
help_dialog
)
self
.
text
.
bind
(
"<<about-idle>>"
,
self
.
about_dialog
)
self
.
text
.
bind
(
"<<open-module>>"
,
self
.
open_module
)
self
.
text
.
bind
(
"<<do-nothing>>"
,
lambda
event
:
"break"
)
vbar
[
'command'
]
=
text
.
yview
vbar
.
pack
(
side
=
RIGHT
,
fill
=
Y
)
...
...
Tools/idle/README
View file @
baf53b4e
BUGS:
- when there's a selection, typing ^X will delete the selection!
(cause: ^X is a binding for cut ;-( )
TO DO:
- "Recent documents" menu item
- use platform specific default bindings
- title and Windows menu should have base filename first
- restructure state sensitive code to avoid testing flags all the time
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment