Kaydet (Commit) 87bcc1d6 authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

Issue #15308: Add 'interrupt execution' (^C) to Shell menu.

Patch by Roger Serwy, updated by Bayard Randel.
üst 63c79966
......@@ -222,6 +222,9 @@ View Last Restart
Restart Shell
Restart the shell to clean the environment.
Interrupt Execution
Stop a running program.
Debug menu (Shell window only)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......
......@@ -67,6 +67,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>>'),
......
......@@ -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, RemoteDebugger
Stack Viewer # StackViewer
Auto-open Stack Viewer # StackViewer
Debugger # Debugger, RemoteDebugger, PyShell.toggle_debuger
Stack Viewer # StackViewer, PyShell.open_stack_viewer
Auto-open Stack Viewer # StackViewer
Format (Editor only)
Indent Region
......
......@@ -238,6 +238,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">
......@@ -703,7 +705,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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment