From a1296ed60b2aacd44ccc490d725c0bac2ae9877a Mon Sep 17 00:00:00 2001
From: "Miss Skeleton (bot)" <31488909+miss-islington@users.noreply.github.com>
Date: Tue, 20 Oct 2020 18:15:23 -0700
Subject: [PATCH] Update idlelib/help.html to current Sphinx output (GH-22833)
idle.rst is unchanged
(cherry picked from commit a460d45063844a21c20fa8b0d23878165f99f3b5)
Co-authored-by: Terry Jan Reedy
Backspace deletes to the left; Del deletes to the right
C-Backspace delete word left; C-Del delete word to the right
Arrow keys and Page Up/Page Down to move around
C-LeftArrow and C-RightArrow moves by words
C-Backspace delete word left; C-Del delete word to the right
Arrow keys and Page Up/Page Down to move around
C-LeftArrow and C-RightArrow moves by words
Home/End go to begin/end of line
C-Home/C-End go to begin/end of file
C-Home/C-End go to begin/end of file
Some useful Emacs bindings are inherited from Tcl/Tk:
-
- -
C-a beginning of line
- -
C-e end of line
- -
C-k kill line (but doesn’t put it in clipboard)
- -
C-l center window around the insertion point
C-b go backward one character without deleting (usually you can +
- +
C-a beginning of line
- +
C-e end of line
- +
C-k kill line (but doesn’t put it in clipboard)
- +
C-l center window around the insertion point
- -
C-b go backward one character without deleting (usually you can also use the cursor key for this)
C-f go forward one character without deleting (usually you can +
- -
C-f go forward one character without deleting (usually you can also use the cursor key for this)
C-p go up one line (usually you can also use the cursor key for +
- -
C-p go up one line (usually you can also use the cursor key for this)
- +
C-d delete next character
C-d delete next character
Standard keybindings (like C-c to copy and C-v to paste) +
Standard keybindings (like C-c to copy and C-v to paste) may work. Keybindings are selected in the Configure IDLE dialog.
Instead of waiting, or after a box is closed, open a completion box immediately with Show Completions on the Edit menu. The default hot -key is C-space. If one types a prefix for the desired name +key is C-space. If one types a prefix for the desired name before opening the box, the first match or near miss is made visible. The result is the same as if one enters a prefix after the box is displayed. Show Completions after a quote completes @@ -559,14 +561,14 @@ If one pastes more that one statement into Shell, the result will be a
The editing features described in previous subsections work when entering code interactively. IDLE’s Shell window also responds to the following keys.
C-c interrupts executing command
C-d sends end-of-file; closes window if typed at a >>>
prompt
Alt-/ (Expand word) is also useful to reduce typing
+C-c interrupts executing command
C-d sends end-of-file; closes window if typed at a >>>
prompt
Alt-/ (Expand word) is also useful to reduce typing
Command history
Alt-p retrieves previous command matching what you have typed. On -macOS use C-p.
Alt-n retrieves next. On macOS use C-n.
Alt-p retrieves previous command matching what you have typed. On +macOS use C-p.
Alt-n retrieves next. On macOS use C-n.
Return while on any previous command retrieves that command