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
a8aa4d5f
Commit
a8aa4d5f
authored
Oct 02, 2015
by
Terry Jan Reedy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #24820: Users can now set breakpoint colors in Settings ->
Custom Highlighting. Original patch by Mark Roseman.
parent
620279b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
Lib/idlelib/configDialog.py
Lib/idlelib/configDialog.py
+16
-14
No files found.
Lib/idlelib/configDialog.py
View file @
a8aa4d5f
...
...
@@ -43,19 +43,20 @@ class ConfigDialog(Toplevel):
#The first value of the tuple is the sample area tag name.
#The second value is the display name list sort index.
self
.
themeElements
=
{
'Normal Text'
:(
'normal'
,
'00'
),
'Python Keywords'
:(
'keyword'
,
'01'
),
'Python Definitions'
:(
'definition'
,
'02'
),
'Python Builtins'
:(
'builtin'
,
'03'
),
'Python Comments'
:(
'comment'
,
'04'
),
'Python Strings'
:(
'string'
,
'05'
),
'Selected Text'
:(
'hilite'
,
'06'
),
'Found Text'
:(
'hit'
,
'07'
),
'Cursor'
:(
'cursor'
,
'08'
),
'Error Text'
:(
'error'
,
'09'
),
'Shell Normal Text'
:(
'console'
,
'10'
),
'Shell Stdout Text'
:(
'stdout'
,
'11'
),
'Shell Stderr Text'
:(
'stderr'
,
'12'
),
'Normal Text'
:
(
'normal'
,
'00'
),
'Python Keywords'
:
(
'keyword'
,
'01'
),
'Python Definitions'
:
(
'definition'
,
'02'
),
'Python Builtins'
:
(
'builtin'
,
'03'
),
'Python Comments'
:
(
'comment'
,
'04'
),
'Python Strings'
:
(
'string'
,
'05'
),
'Selected Text'
:
(
'hilite'
,
'06'
),
'Found Text'
:
(
'hit'
,
'07'
),
'Cursor'
:
(
'cursor'
,
'08'
),
'Editor Breakpoint'
:
(
'break'
,
'09'
),
'Shell Normal Text'
:
(
'console'
,
'10'
),
'Shell Error Text'
:
(
'error'
,
'11'
),
'Shell Stdout Text'
:
(
'stdout'
,
'12'
),
'Shell Stderr Text'
:
(
'stderr'
,
'13'
),
}
self
.
ResetChangedItems
()
#load initial values in changed items dict
self
.
CreateWidgets
()
...
...
@@ -219,7 +220,8 @@ class ConfigDialog(Toplevel):
(
"'selected'"
,
'hilite'
),
(
'
\
n
var2 = '
,
'normal'
),
(
"'found'"
,
'hit'
),
(
'
\
n
var3 = '
,
'normal'
),
(
'list'
,
'builtin'
),
(
'('
,
'normal'
),
(
'None'
,
'keyword'
),
(
')
\
n
\
n
'
,
'normal'
),
(
'None'
,
'keyword'
),
(
')
\
n
'
,
'normal'
),
(
' breakpoint("line")'
,
'break'
),
(
'
\
n
\
n
'
,
'normal'
),
(
' error '
,
'error'
),
(
' '
,
'normal'
),
(
'cursor |'
,
'cursor'
),
(
'
\
n
'
,
'normal'
),
(
'shell'
,
'console'
),
(
' '
,
'normal'
),
...
...
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