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
7d41d5db
Commit
7d41d5db
authored
Sep 12, 2016
by
Terry Jan Reedy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.
parent
c9a88826
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
26 deletions
+52
-26
Doc/library/idle.rst
Doc/library/idle.rst
+3
-0
Lib/idlelib/Bindings.py
Lib/idlelib/Bindings.py
+2
-0
Lib/idlelib/README.txt
Lib/idlelib/README.txt
+6
-5
Lib/idlelib/help.html
Lib/idlelib/help.html
+41
-21
No files found.
Doc/library/idle.rst
View file @
7d41d5db
...
...
@@ -226,6 +226,9 @@ View Last Restart
Restart Shell
Restart the shell to clean the environment.
Interrupt Execution
Stop a running program.
Debug menu (Shell window only)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
...
Lib/idlelib/Bindings.py
View file @
7d41d5db
...
...
@@ -69,6 +69,8 @@ menudefs = [
(
'shell'
,
[
(
'_View Last Restart'
,
'<<view-restart>>'
),
(
'_Restart Shell'
,
'<<restart-shell>>'
),
None
,
(
'_Interrupt Execution'
,
'<<interrupt-execution>>'
),
]),
(
'debug'
,
[
(
'_Go to File/Line'
,
'<<goto-file-line>>'
),
...
...
Lib/idlelib/README.txt
View file @
7d41d5db
...
...
@@ -161,14 +161,15 @@ Edit
Show surrounding parens # ParenMatch (& Hyperparser)
Shell # PyShell
View Last Restart # PyShell.?
Restart Shell # PyShell.?
View Last Restart # PyShell.PyShell.view_restart_mark
Restart Shell # PyShell.PyShell.restart_shell
Interrupt Execution # pyshell.PyShell.cancel_callback
Debug (Shell only)
Go to File/Line
Debugger
# Debugger, RemoteDebug
ger
Stack Viewer
# StackV
iewer
Auto-open Stack Viewer
# StackViewer
Debugger
# Debugger, RemoteDebugger, PyShell.toggle_debu
ger
Stack Viewer
# StackViewer, PyShell.open_stack_v
iewer
Auto-open Stack Viewer # StackViewer
Format (Editor only)
Indent Region
...
...
Lib/idlelib/help.html
View file @
7d41d5db
...
...
@@ -65,6 +65,21 @@
<li
class=
"nav-item nav-item-1"
><a
href=
"index.html"
>
The Python Standard Library
</a>
»
</li>
<li
class=
"nav-item nav-item-2"
><a
href=
"tk.html"
accesskey=
"U"
>
25. Graphical User Interfaces with Tk
</a>
»
</li>
<li
class=
"right"
>
<div
class=
"inline-search"
style=
"display: none"
role=
"search"
>
<form
class=
"inline-search"
action=
"../search.html"
method=
"get"
>
<input
placeholder=
"Quick search"
type=
"text"
name=
"q"
/>
<input
type=
"submit"
value=
"Go"
/>
<input
type=
"hidden"
name=
"check_keywords"
value=
"yes"
/>
<input
type=
"hidden"
name=
"area"
value=
"default"
/>
</form>
</div>
<script
type=
"text/javascript"
>
$
(
'
.inline-search
'
).
show
(
0
);
</script>
|
</li>
</ul>
</div>
...
...
@@ -240,6 +255,8 @@ line.</dd>
<dd>
Scroll the shell window to the last Shell restart.
</dd>
<dt>
Restart Shell
</dt>
<dd>
Restart the shell to clean the environment.
</dd>
<dt>
Interrupt Execution
</dt>
<dd>
Stop a running program.
</dd>
</dl>
</div>
<div
class=
"section"
id=
"debug-menu-shell-window-only"
>
...
...
@@ -649,26 +666,14 @@ are currently:</p>
<h4>
Next topic
</h4>
<p
class=
"topless"
><a
href=
"othergui.html"
title=
"next chapter"
>
25.6. Other Graphical User Interface Packages
</a></p>
<h3>
This Page
</h3>
<ul
class=
"this-page-menu"
>
<li><a
href=
"../bugs.html"
>
Report a Bug
</a></li>
<li><a
href=
"../_sources/library/idle.txt"
rel=
"nofollow"
>
Show Source
</a></li>
</ul>
<div
id=
"searchbox"
style=
"display: none"
role=
"search"
>
<h3>
Quick search
</h3>
<form
class=
"search"
action=
"../search.html"
method=
"get"
>
<input
type=
"text"
name=
"q"
/>
<input
type=
"submit"
value=
"Go"
/>
<input
type=
"hidden"
name=
"check_keywords"
value=
"yes"
/>
<input
type=
"hidden"
name=
"area"
value=
"default"
/>
</form>
<p
class=
"searchtip"
style=
"font-size: 90%"
>
Enter search terms or a module, class or function name.
</p>
</div>
<script
type=
"text/javascript"
>
$
(
'
#searchbox
'
).
show
(
0
);
</script>
<div
role=
"note"
aria-label=
"source link"
>
<h3>
This Page
</h3>
<ul
class=
"this-page-menu"
>
<li><a
href=
"../bugs.html"
>
Report a Bug
</a></li>
<li><a
href=
"../_sources/library/idle.txt"
rel=
"nofollow"
>
Show Source
</a></li>
</ul>
</div>
</div>
</div>
<div
class=
"clearer"
></div>
...
...
@@ -697,6 +702,21 @@ are currently:</p>
<li
class=
"nav-item nav-item-1"
><a
href=
"index.html"
>
The Python Standard Library
</a>
»
</li>
<li
class=
"nav-item nav-item-2"
><a
href=
"tk.html"
>
25. Graphical User Interfaces with Tk
</a>
»
</li>
<li
class=
"right"
>
<div
class=
"inline-search"
style=
"display: none"
role=
"search"
>
<form
class=
"inline-search"
action=
"../search.html"
method=
"get"
>
<input
placeholder=
"Quick search"
type=
"text"
name=
"q"
/>
<input
type=
"submit"
value=
"Go"
/>
<input
type=
"hidden"
name=
"check_keywords"
value=
"yes"
/>
<input
type=
"hidden"
name=
"area"
value=
"default"
/>
</form>
</div>
<script
type=
"text/javascript"
>
$
(
'
.inline-search
'
).
show
(
0
);
</script>
|
</li>
</ul>
</div>
<div
class=
"footer"
>
...
...
@@ -705,7 +725,7 @@ are currently:</p>
The Python Software Foundation is a non-profit corporation.
<a
href=
"https://www.python.org/psf/donations/"
>
Please donate.
</a>
<br
/>
Last updated on
Aug 30
, 2016.
Last updated on
Sep 12
, 2016.
<a
href=
"../bugs.html"
>
Found a bug
</a>
?
<br
/>
Created using
<a
href=
"http://sphinx.pocoo.org/"
>
Sphinx
</a>
1.3.6.
...
...
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