changeset: 98258:a43d79b2434c branch: 3.4 parent: 98254:f5502ff7ae2d user: Terry Jan Reedy date: Thu Sep 24 23:18:57 2015 -0400 files: Lib/idlelib/help.html description: Issue #25225: add revised .html. diff -r f5502ff7ae2d -r a43d79b2434c Lib/idlelib/help.html --- a/Lib/idlelib/help.html Thu Sep 24 23:13:49 2015 -0400 +++ b/Lib/idlelib/help.html Thu Sep 24 23:18:57 2015 -0400 @@ -439,41 +439,22 @@ +
+

25.5.2.4. Text colors

+

Idle defaults to black on white text, but colors text with special meanings. +For the shell, these are shell output, shell error, user output, and +user error. For Python code, at the shell prompt or in an editor, these are +keywords, builtin class and function names, names following class and +def, strings, and comments. For any text window, these are the cursor (when +present), found text (when possible), and selected text.

+

Text coloring is done in the background, so uncolorized text is occasionally +visible. To change the color scheme, use the Configure IDLE dialog +Highlighting tab. The marking of debugger breakpoint lines in the editor and +text in popups and dialogs is not user-configurable.

-
-

25.5.3. Syntax colors

-

The coloring is applied in a background “thread,” so you may occasionally see -uncolorized text. To change the color scheme, edit the [Colors] section in -config.txt.

-
-
Python syntax colors:
-
-
Keywords
-
orange
-
Strings
-
green
-
Comments
-
red
-
Definitions
-
blue
-
-
-
Shell colors:
-
-
Console output
-
brown
-
stdout
-
blue
-
stderr
-
dark green
-
stdin
-
black
-
-
-
-

25.5.4. Startup and code execution

+

25.5.3. Startup and code execution

Upon startup with the -s option, IDLE will execute the file referenced by the environment variables IDLESTARTUP or PYTHONSTARTUP. IDLE first checks for IDLESTARTUP; if IDLESTARTUP is present the file @@ -487,7 +468,7 @@ executed in the Tk namespace, so this file is not useful for importing functions to be used from IDLE’s Python shell.

-

25.5.4.1. Command line usage

+

25.5.3.1. Command line usage

idle.py [-c command] [-d] [-e] [-h] [-i] [-r file] [-s] [-t title] [-] [arg] ...
 
 -c command  run command in the shell window
@@ -512,7 +493,7 @@
 
 
-

25.5.4.2. IDLE-console differences

+

25.5.3.2. IDLE-console differences

As much as possible, the result of executing Python code with IDLE is the same as executing the same code in a console window. However, the different interface and operation occasionally affects results.

@@ -526,7 +507,7 @@ Some consoles only work with a single physical line at a time.

-

25.5.4.3. Running without a subprocess

+

25.5.3.3. Running without a subprocess

By default, IDLE executes user code in a separate subprocess via a socket, which uses the internal loopback interface. This connection is not externally visible and no data is sent to or received from the Internet. @@ -552,9 +533,9 @@

-

25.5.5. Help and preferences

+

25.5.4. Help and preferences

-

25.5.5.1. Additional help sources

+

25.5.4.1. Additional help sources

IDLE includes a help menu entry called “Python Docs” that will open the extensive sources of help, including tutorials, available at docs.python.org. Selected URLs can be added or removed from the help menu at any time using the @@ -562,14 +543,14 @@ more information.

-

25.5.5.2. Setting preferences

+

25.5.4.2. Setting preferences

The font preferences, highlighting, keys, and general preferences can be changed via Configure IDLE on the Option menu. Keys can be user defined; IDLE ships with four built in key sets. In addition a user can create a custom key set in the Configure IDLE dialog under the keys tab.