mirror of
https://github.com/python/cpython.git
synced 2025-10-25 15:58:57 +00:00
Issue #24820: Users can now set breakpoint colors in Settings ->
Custom Highlighting. Original patch by Mark Roseman.
This commit is contained in:
parent
620279b9ac
commit
a8aa4d5fb7
1 changed files with 16 additions and 14 deletions
|
|
@ -52,10 +52,11 @@ class ConfigDialog(Toplevel):
|
||||||
'Selected Text': ('hilite', '06'),
|
'Selected Text': ('hilite', '06'),
|
||||||
'Found Text': ('hit', '07'),
|
'Found Text': ('hit', '07'),
|
||||||
'Cursor': ('cursor', '08'),
|
'Cursor': ('cursor', '08'),
|
||||||
'Error Text':('error', '09'),
|
'Editor Breakpoint': ('break', '09'),
|
||||||
'Shell Normal Text': ('console', '10'),
|
'Shell Normal Text': ('console', '10'),
|
||||||
'Shell Stdout Text':('stdout', '11'),
|
'Shell Error Text': ('error', '11'),
|
||||||
'Shell Stderr Text':('stderr', '12'),
|
'Shell Stdout Text': ('stdout', '12'),
|
||||||
|
'Shell Stderr Text': ('stderr', '13'),
|
||||||
}
|
}
|
||||||
self.ResetChangedItems() #load initial values in changed items dict
|
self.ResetChangedItems() #load initial values in changed items dict
|
||||||
self.CreateWidgets()
|
self.CreateWidgets()
|
||||||
|
|
@ -219,7 +220,8 @@ class ConfigDialog(Toplevel):
|
||||||
("'selected'", 'hilite'), ('\n var2 = ', 'normal'),
|
("'selected'", 'hilite'), ('\n var2 = ', 'normal'),
|
||||||
("'found'", 'hit'), ('\n var3 = ', 'normal'),
|
("'found'", 'hit'), ('\n var3 = ', 'normal'),
|
||||||
('list', 'builtin'), ('(', 'normal'),
|
('list', 'builtin'), ('(', 'normal'),
|
||||||
('None', 'keyword'), (')\n\n', 'normal'),
|
('None', 'keyword'), (')\n', 'normal'),
|
||||||
|
(' breakpoint("line")', 'break'), ('\n\n', 'normal'),
|
||||||
(' error ', 'error'), (' ', 'normal'),
|
(' error ', 'error'), (' ', 'normal'),
|
||||||
('cursor |', 'cursor'), ('\n ', 'normal'),
|
('cursor |', 'cursor'), ('\n ', 'normal'),
|
||||||
('shell', 'console'), (' ', 'normal'),
|
('shell', 'console'), (' ', 'normal'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue