mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Merge with 3.4
This commit is contained in:
commit
0588e1ab39
1 changed files with 12 additions and 30 deletions
|
@ -458,38 +458,20 @@ Python Shell window
|
||||||
* :kbd:`Return` while on any previous command retrieves that command
|
* :kbd:`Return` while on any previous command retrieves that command
|
||||||
|
|
||||||
|
|
||||||
Syntax colors
|
Text colors
|
||||||
-------------
|
^^^^^^^^^^^
|
||||||
|
|
||||||
The coloring is applied in a background "thread," so you may occasionally see
|
Idle defaults to black on white text, but colors text with special meanings.
|
||||||
uncolorized text. To change the color scheme, edit the ``[Colors]`` section in
|
For the shell, these are shell output, shell error, user output, and
|
||||||
:file:`config.txt`.
|
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.
|
||||||
|
|
||||||
Python syntax colors:
|
Text coloring is done in the background, so uncolorized text is occasionally
|
||||||
Keywords
|
visible. To change the color scheme, use the Configure IDLE dialog
|
||||||
orange
|
Highlighting tab. The marking of debugger breakpoint lines in the editor and
|
||||||
|
text in popups and dialogs is not user-configurable.
|
||||||
Strings
|
|
||||||
green
|
|
||||||
|
|
||||||
Comments
|
|
||||||
red
|
|
||||||
|
|
||||||
Definitions
|
|
||||||
blue
|
|
||||||
|
|
||||||
Shell colors:
|
|
||||||
Console output
|
|
||||||
brown
|
|
||||||
|
|
||||||
stdout
|
|
||||||
blue
|
|
||||||
|
|
||||||
stderr
|
|
||||||
dark green
|
|
||||||
|
|
||||||
stdin
|
|
||||||
black
|
|
||||||
|
|
||||||
|
|
||||||
Startup and code execution
|
Startup and code execution
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue