@@ -158,7 +158,7 @@ Go to Line
158158
159159Show 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
163163Expand Word
164164 Expand a prefix you have typed to match a full word in the same window;
@@ -167,7 +167,7 @@ Expand Word
167167Show 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
172172Show Surrounding Parens
173173 Highlight the surrounding parenthesis.
@@ -178,9 +178,9 @@ Format menu (Editor window only)
178178^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
179179
180180Format Paragraph
181- Reformat the current blank-line-delimited paragraph in comment block or
182- multiline string or selected line in a string . All lines in the
183- paragraph will be formatted to less than N columns, where N defaults to 72 .
181+ Rewrap the text block containing the text insert cursor.
182+ Avoid code lines . See :ref: ` Format block<format-block> ` in the
183+ Editing and Navigation section below .
184184
185185Indent Region
186186 Shift selected lines right by the indent width (default 4 spaces).
@@ -566,6 +566,20 @@ In an editor, import statements have no effect until one runs the file.
566566One might want to run a file after writing import statements, after
567567adding function definitions, or after opening an existing file.
568568
569+ .. _format-block :
570+
571+ Format block
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+
569583.. _code-context :
570584
571585Code Context
0 commit comments