diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-10-29 01:51:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 01:51:45 (GMT) |
commit | 9bdadc163f306ddb4659c6732ea24401957488db (patch) | |
tree | dc68269f48584138b4a579efe6f0ea63a7934bb7 /Doc/library | |
parent | fd0a3bce6e917b5853c809a309c1513acc176f56 (diff) | |
download | cpython-9bdadc163f306ddb4659c6732ea24401957488db.zip cpython-9bdadc163f306ddb4659c6732ea24401957488db.tar.gz cpython-9bdadc163f306ddb4659c6732ea24401957488db.tar.bz2 |
bpo-35097: Add IDLE doc subsection explaining editor windows. (GH-10206)
Topics include opening, title and status bar, .py* extension, and running.
(cherry picked from commit ea9c8bd44365ae8b0accc5286c7b52862528c0ec)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/idle.rst | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index 3bf87c2..0826d99 100644 --- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -358,6 +358,24 @@ Squeeze Editing and navigation ---------------------- +Editor windows +^^^^^^^^^^^^^^ + +IDLE may open editor windows when it starts, depending on settings +and how you start IDLE. Thereafter, use the File menu. There can be only +one open editor window for a given file. + +The title bar contains the name of the file, the full path, and the version +of Python and IDLE running the window. The status bar contains the line +number ('Ln') and column number ('Col'). Line numbers start with 1; +column numbers with 0. + +IDLE assumes that files with a known .py* extension contain Python code +and that other files do not. Run Python code with the Run menu. + +Key bindings +^^^^^^^^^^^^ + In this section, 'C' refers to the :kbd:`Control` key on Windows and Unix and the :kbd:`Command` key on Mac OSX. @@ -397,7 +415,6 @@ the :kbd:`Command` key on Mac OSX. Standard keybindings (like :kbd:`C-c` to copy and :kbd:`C-v` to paste) may work. Keybindings are selected in the Configure IDLE dialog. - Automatic indentation ^^^^^^^^^^^^^^^^^^^^^ |