Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a670d0c9
Commit
a670d0c9
authored
Apr 20, 1999
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restored the original IDLE color scheme.
parent
7de69759
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
61 deletions
+15
-61
Tools/idle/IdlePrefs.py
Tools/idle/IdlePrefs.py
+15
-61
No files found.
Tools/idle/IdlePrefs.py
View file @
a670d0c9
# Created on 4/15/99 by Loren Luke
#
# Color Prefs for idle
class
ColorPrefs
:
CNormal
=
"
yellow"
,
None
CKeyword
=
"
medium sea green
"
,
None
CComment
=
"
white
"
,
None
CString
=
"
DarkOrange1
"
,
None
CDefinition
=
"
wheat1
"
,
None
CNormal
=
"
black"
,
"white"
# "purple", "white"
CKeyword
=
"
#ff7700
"
,
None
CComment
=
"
#dd0000
"
,
None
CString
=
"
#00aa00
"
,
None
CDefinition
=
"
#0000ff
"
,
None
CHilite
=
"#000068"
,
"#006868"
CSync
=
"yellow"
,
None
CTodo
=
"aquamarine4"
,
None
CBreak
=
"white"
,
None
CHit
=
"#000068"
,
None
CStdIn
=
"yellow"
,
None
CStdOut
=
"yellow"
,
None
CStdErr
=
"firebrick3"
,
None
CConsole
=
"yellow"
,
None
CError
=
"white"
,
"red"
CCursor
=
None
,
"yellow"
def
__init__
(
self
,
fg
=
"yellow"
,
bg
=
"DodgerBlue4"
,
ud
=
1
):
self
.
Default
=
fg
,
bg
# Use Default Colors?
if
ud
==
1
:
# Use Default fg, bg Colors
# Define Screen Colors...
# format: x = (fg, bg)
self
.
CBreak
=
"white"
,
"#680000"
self
.
CComment
=
"white"
,
self
.
Default
[
1
]
self
.
CConsole
=
self
.
Default
self
.
CCursor
=
None
,
self
.
Default
[
0
]
self
.
CDefinition
=
"wheat1"
,
self
.
Default
[
1
]
self
.
CError
=
"white"
,
"red"
self
.
CHilite
=
"#000068"
,
"#006868"
self
.
CHit
=
"#000068"
,
"#006868"
self
.
CKeyword
=
"medium sea green"
,
self
.
Default
[
1
]
self
.
CNormal
=
"yellow"
,
self
.
Default
[
1
]
self
.
CStdErr
=
"firebrick3"
,
self
.
Default
[
1
]
self
.
CStdIn
=
self
.
Default
self
.
CStdOut
=
self
.
Default
self
.
CString
=
"DarkOrange1"
,
self
.
Default
[
1
]
self
.
CSync
=
self
.
Default
self
.
CTodo
=
"aquamarine4"
,
self
.
Default
[
1
]
else
:
#Define Screen Colors...
# format: x = (fg, bg)
self
.
CBreak
=
"white"
,
None
self
.
CComment
=
"white"
,
None
self
.
CConsole
=
"yellow"
,
None
self
.
CCursor
=
None
,
"yellow"
self
.
CDefinition
=
"wheat1"
,
None
self
.
CError
=
"white"
,
"red"
self
.
CHilite
=
"#000068"
,
"#006868"
self
.
CHit
=
"#000068"
,
None
self
.
CKeyword
=
"medium sea green"
,
None
self
.
CNormal
=
"yellow"
,
None
self
.
CStdErr
=
"firebrick3"
,
None
self
.
CStdIn
=
"yellow"
,
None
self
.
CStdOut
=
"yellow"
,
None
self
.
CString
=
"DarkOrange1"
,
None
self
.
CSync
=
"yellow"
,
None
self
.
CTodo
=
"aquamarine4"
,
None
CSync
=
None
,
None
# None, "#ffff00"
CTodo
=
None
,
None
# None, "#cccccc"
CBreak
=
"#ff7777"
,
None
CHit
=
"#ffffff"
,
"#000000"
CStdIn
=
None
,
None
# None, "yellow"
CStdOut
=
"blue"
,
None
CStdErr
=
"#007700"
,
None
CConsole
=
"#770000"
,
None
CError
=
None
,
"#ff7777"
CCursor
=
None
,
"black"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment