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
c0381aae
Commit
c0381aae
authored
Dec 28, 2018
by
Cheryl Sabella
Committed by
Terry Jan Reedy
Dec 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-28097: IDLE - Add Previous/Next History to Shell menu (#11325)
parent
804a5d94
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
10 deletions
+22
-10
Doc/library/idle.rst
Doc/library/idle.rst
+6
-0
Lib/idlelib/help.html
Lib/idlelib/help.html
+12
-10
Lib/idlelib/mainmenu.py
Lib/idlelib/mainmenu.py
+3
-0
Misc/NEWS.d/next/IDLE/2018-12-26-13-53-34.bpo-28097.95I9NT.rst
...NEWS.d/next/IDLE/2018-12-26-13-53-34.bpo-28097.95I9NT.rst
+1
-0
No files found.
Doc/library/idle.rst
View file @
c0381aae
...
...
@@ -235,6 +235,12 @@ View Last Restart
Restart Shell
Restart the shell to clean the environment.
Previous History
Cycle through earlier commands in history which match the current entry.
Next History
Cycle through later commands in history which match the current entry.
Interrupt Execution
Stop a running program.
...
...
Lib/idlelib/help.html
View file @
c0381aae
...
...
@@ -273,6 +273,10 @@ 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>
Previous History
</dt>
<dd>
Cycle through earlier commands in history which match the current entry.
</dd>
<dt>
Next History
</dt>
<dd>
Cycle through later commands in history which match the current entry.
</dd>
<dt>
Interrupt Execution
</dt>
<dd>
Stop a running program.
</dd>
</dl>
...
...
@@ -309,7 +313,11 @@ size, additional help sources, and extensions. On macOS, open the
configuration dialog by selecting Preferences in the application
menu. For more, see
<a
class=
"reference internal"
href=
"#preferences"
><span
class=
"std std-ref"
>
Setting preferences
</span></a>
under Help and preferences.
</dd>
<dt>
Code Context (toggle)(Editor Window only)
</dt>
<dt>
Zoom/Restore Height
</dt>
<dd>
Toggles the window between normal size and maximum height. The initial size
defaults to 40 lines by 80 chars unless changed on the General tab of the
Configure IDLE dialog.
</dd>
<dt>
Show/Hide Code Context (Editor Window only)
</dt>
<dd>
Open a pane at the top of the edit window which shows the block context
of the code which has scrolled above the top of the window. See
<a
class=
"reference internal"
href=
"#code-context"
><span
class=
"std std-ref"
>
Code Context
</span></a>
in the Editing and Navigation section below.
</dd>
...
...
@@ -317,14 +325,8 @@ of the code which has scrolled above the top of the window. See
</div>
<div
class=
"section"
id=
"window-menu-shell-and-editor"
>
<h3>
Window menu (Shell and Editor)
<a
class=
"headerlink"
href=
"#window-menu-shell-and-editor"
title=
"Permalink to this headline"
>
¶
</a></h3>
<dl
class=
"docutils"
>
<dt>
Zoom Height
</dt>
<dd>
Toggles the window between normal size and maximum height. The initial size
defaults to 40 lines by 80 chars unless changed on the General tab of the
Configure IDLE dialog.
</dd>
</dl>
<p>
The rest of this menu lists the names of all open windows; select one to bring
it to the foreground (deiconifying it if necessary).
</p>
<p>
Lists the names of all open windows; select one to bring it to the foreground
(deiconifying it if necessary).
</p>
</div>
<div
class=
"section"
id=
"help-menu-shell-and-editor"
>
<h3>
Help menu (Shell and Editor)
<a
class=
"headerlink"
href=
"#help-menu-shell-and-editor"
title=
"Permalink to this headline"
>
¶
</a></h3>
...
...
@@ -918,7 +920,7 @@ also used for testing.</p>
<br
/>
<br
/>
Last updated on Dec 2
0
, 2018.
Last updated on Dec 2
8
, 2018.
<a
href=
"https://docs.python.org/3/bugs.html"
>
Found a bug
</a>
?
<br
/>
...
...
Lib/idlelib/mainmenu.py
View file @
c0381aae
...
...
@@ -82,6 +82,9 @@ menudefs = [
(
'_View Last Restart'
,
'<<view-restart>>'
),
(
'_Restart Shell'
,
'<<restart-shell>>'
),
None
,
(
'_Previous History'
,
'<<history-previous>>'
),
(
'_Next History'
,
'<<history-next>>'
),
None
,
(
'_Interrupt Execution'
,
'<<interrupt-execution>>'
),
]),
...
...
Misc/NEWS.d/next/IDLE/2018-12-26-13-53-34.bpo-28097.95I9NT.rst
0 → 100644
View file @
c0381aae
Add Previous/Next History entries to Shell menu.
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