Skip to content

Commit 89b152d

Browse files
committed
Move most new text to a new subsection
1 parent bfd9fba commit 89b152d

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

Doc/library/idle.rst

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Go to Line
158158

159159
Show Completions
160160
Open a scrollable list allowing selection of existing names. See
161-
:ref:`Completions <completions>` in the Editing and navigation section below.
161+
:ref:`Completions <completions>` in the Editing and Navigation section below.
162162

163163
Expand Word
164164
Expand a prefix you have typed to match a full word in the same window;
@@ -167,7 +167,7 @@ Expand Word
167167
Show Call Tip
168168
After an unclosed parenthesis for a function, open a small window with
169169
function parameter hints. See :ref:`Calltips <calltips>` in the
170-
Editing and navigation section below.
170+
Editing and Navigation section below.
171171

172172
Show Surrounding Parens
173173
Highlight the surrounding parenthesis.
@@ -178,14 +178,9 @@ Format menu (Editor window only)
178178
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
179179

180180
Format Paragraph
181-
Rewrap the current 'paragraph'. A paragraph is a contiguous block of
182-
equally indented non-blank comments containing the text cursor, a
183-
similar block of non-comment lines (expected to be within a multiline
184-
string), or a selection of a subset of either. (Partial lines in a
185-
selection expand to complete lines.) The resulting lines have the
186-
same indent as before but a max length of N columns (characters).
187-
Change the default N of 72 on the Window tab of IDLE Settings.
188-
Avoid rewrapping code lines.
181+
Rewrap the text block containing the text insert cursor.
182+
Avoid code lines. See :ref:`Format Menu<format-menu>` in the
183+
Editing and Navigation section below.
189184

190185
Indent Region
191186
Shift selected lines right by the indent width (default 4 spaces).
@@ -571,6 +566,20 @@ In an editor, import statements have no effect until one runs the file.
571566
One might want to run a file after writing import statements, after
572567
adding function definitions, or after opening an existing file.
573568

569+
.. _format-menu:
570+
571+
Format Menu
572+
^^^^^^^^^^^
573+
574+
Reformat Paragraph rewraps a block ('paragraph') of contiguous equally
575+
indented non-blank comments, a similar block of text within a multiline
576+
string, or a selected subset of either.
577+
If needed, add a blank line to separate string from code.
578+
Partial lines in a selection expand to complete lines.
579+
The resulting lines have the same indent as before
580+
but have maximum total length of N columns (characters).
581+
Change the default N of 72 on the Window tab of IDLE Settings.
582+
574583
.. _code-context:
575584

576585
Code Context

0 commit comments

Comments
 (0)