@@ -344,8 +345,8 @@ and open docs.python.org showing the latest Python documentation.</dd>
<dd>Run the turtledemo module with example Python code and turtle drawings.</dd>
</dl>
<p>Additional help sources may be added here with the Configure IDLE dialog under
the General tab. See the “Help sources” subsection below for more
on Help menu choices.</p>
the General tab. See the <aclass="reference internal"href="#help-sources"><spanclass="std std-ref">Help sources</span></a> subsection below
for more on Help menu choices.</p>
</div>
<divclass="section"id="context-menus">
<spanid="index-4"></span><h3>Context Menus<aclass="headerlink"href="#context-menus"title="Permalink to this headline">¶</a></h3>
...
...
@@ -383,7 +384,7 @@ the code above and the prompt below down to a ‘Squeezed text’ label.</dd>
</div>
</div>
<divclass="section"id="editing-and-navigation">
<h2>Editing and navigation<aclass="headerlink"href="#editing-and-navigation"title="Permalink to this headline">¶</a></h2>
<spanid="id2"></span><h2>Editing and navigation<aclass="headerlink"href="#editing-and-navigation"title="Permalink to this headline">¶</a></h2>
<divclass="section"id="editor-windows">
<h3>Editor windows<aclass="headerlink"href="#editor-windows"title="Permalink to this headline">¶</a></h3>
<p>IDLE may open editor windows when it starts, depending on settings
...
...
@@ -445,7 +446,7 @@ are restricted to four spaces due to Tcl/Tk limitations.</p>
<p>See also the indent/dedent region commands in the edit menu.</p>
</div>
<divclass="section"id="completions">
<h3>Completions<aclass="headerlink"href="#completions"title="Permalink to this headline">¶</a></h3>
<spanid="id3"></span><h3>Completions<aclass="headerlink"href="#completions"title="Permalink to this headline">¶</a></h3>
<p>Completions are supplied for functions, classes, and attributes of classes,
both built-in and user-defined. Completions are also provided for
filenames.</p>
...
...
@@ -480,7 +481,7 @@ much can be found by default, e.g. the re module.</p>
longer or disable the extension.</p>
</div>
<divclass="section"id="calltips">
<h3>Calltips<aclass="headerlink"href="#calltips"title="Permalink to this headline">¶</a></h3>
<spanid="id4"></span><h3>Calltips<aclass="headerlink"href="#calltips"title="Permalink to this headline">¶</a></h3>
<p>A calltip is shown when one types <kbdclass="kbd docutils literal notranslate">(</kbd> after the name of an <em>accessible</em>
function. A name expression may include dots and subscripts. A calltip
remains until it is clicked, the cursor is moved out of the argument area,
...
...
@@ -502,6 +503,21 @@ not import turtle. The menu or shortcut do nothing either. Enter
might want to run a file after writing the import statements at the top,
or immediately run an existing file before editing.</p>
</div>
<divclass="section"id="code-context">
<spanid="id5"></span><h3>Code Context<aclass="headerlink"href="#code-context"title="Permalink to this headline">¶</a></h3>
<p>Within an editor window containing Python code, code context can be toggled
in order to show or hide a pane at the top of the window. When shown, this
pane freezes the opening lines for block code, such as those beginning with
<codeclass="docutils literal notranslate"><spanclass="pre">class</span></code>, <codeclass="docutils literal notranslate"><spanclass="pre">def</span></code>, or <codeclass="docutils literal notranslate"><spanclass="pre">if</span></code> keywords, that would have otherwise scrolled
out of view. The size of the pane will be expanded and contracted as needed
to show the all current levels of context, up to the maximum number of
lines defined in the Configure IDLE dialog (which defaults to 15). If there
are no current context lines and the feature is toggled on, a single blank
line will display. Clicking on a line in the context pane will move that
line to the top of the editor.</p>
<p>The text and background colors for the context pane can be configured under
the Highlights tab in the Configure IDLE dialog.</p>
</div>
<divclass="section"id="python-shell-window">
<h3>Python Shell window<aclass="headerlink"href="#python-shell-window"title="Permalink to this headline">¶</a></h3>
<p>With IDLE’s Shell, one enters, edits, and recalls complete statements.
...
...
@@ -733,7 +749,7 @@ with the default subprocess if at all possible.</p>
<divclass="section"id="help-and-preferences">
<h2>Help and preferences<aclass="headerlink"href="#help-and-preferences"title="Permalink to this headline">¶</a></h2>
<divclass="section"id="help-sources">
<h3>Help sources<aclass="headerlink"href="#help-sources"title="Permalink to this headline">¶</a></h3>
<spanid="id6"></span><h3>Help sources<aclass="headerlink"href="#help-sources"title="Permalink to this headline">¶</a></h3>
<p>Help menu entry “IDLE Help” displays a formatted html version of the
IDLE chapter of the Library Reference. The result, in a read-only
tkinter text window, is close to what one sees in a web browser.