Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8aca4e

Browse files
committed
Merge with 3.5
2 parents c62656d + 0588e1a commit b8aca4e

1 file changed

Lines changed: 13 additions & 31 deletions

File tree

Doc/library/idle.rst

Lines changed: 13 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -458,38 +458,20 @@ Python Shell window
458458
* :kbd:`Return` while on any previous command retrieves that command
459459

460460

461-
Syntax colors
462-
-------------
463-
464-
The coloring is applied in a background "thread," so you may occasionally see
465-
uncolorized text. To change the color scheme, edit the ``[Colors]`` section in
466-
:file:`config.txt`.
467-
468-
Python syntax colors:
469-
Keywords
470-
orange
471-
472-
Strings
473-
green
474-
475-
Comments
476-
red
477-
478-
Definitions
479-
blue
480-
481-
Shell colors:
482-
Console output
483-
brown
484-
485-
stdout
486-
blue
487-
488-
stderr
489-
dark green
461+
Text colors
462+
^^^^^^^^^^^
490463

491-
stdin
492-
black
464+
Idle defaults to black on white text, but colors text with special meanings.
465+
For the shell, these are shell output, shell error, user output, and
466+
user error. For Python code, at the shell prompt or in an editor, these are
467+
keywords, builtin class and function names, names following ``class`` and
468+
``def``, strings, and comments. For any text window, these are the cursor (when
469+
present), found text (when possible), and selected text.
470+
471+
Text coloring is done in the background, so uncolorized text is occasionally
472+
visible. To change the color scheme, use the Configure IDLE dialog
473+
Highlighting tab. The marking of debugger breakpoint lines in the editor and
474+
text in popups and dialogs is not user-configurable.
493475

494476

495477
Startup and code execution

0 commit comments

Comments
 (0)