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
7733be8f
Commit
7733be8f
authored
Apr 07, 2013
by
Roger Serwy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#17613: Prevent traceback when removing syntax colorizer in IDLE.
parent
6b2918ae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Lib/idlelib/ColorDelegator.py
Lib/idlelib/ColorDelegator.py
+4
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/idlelib/ColorDelegator.py
View file @
7733be8f
...
@@ -51,6 +51,10 @@ class ColorDelegator(Delegator):
...
@@ -51,6 +51,10 @@ class ColorDelegator(Delegator):
self
.
config_colors
()
self
.
config_colors
()
self
.
bind
(
"<<toggle-auto-coloring>>"
,
self
.
toggle_colorize_event
)
self
.
bind
(
"<<toggle-auto-coloring>>"
,
self
.
toggle_colorize_event
)
self
.
notify_range
(
"1.0"
,
"end"
)
self
.
notify_range
(
"1.0"
,
"end"
)
else
:
# No delegate - stop any colorizing
self
.
stop_colorizing
=
True
self
.
allow_colorizing
=
False
def
config_colors
(
self
):
def
config_colors
(
self
):
for
tag
,
cnf
in
self
.
tagdefs
.
items
():
for
tag
,
cnf
in
self
.
tagdefs
.
items
():
...
...
Misc/NEWS
View file @
7733be8f
...
@@ -33,6 +33,8 @@ Library
...
@@ -33,6 +33,8 @@ Library
IDLE
IDLE
----
----
- Issue #17613: Prevent traceback when removing syntax colorizer in IDLE.
- Issue #1207589: Backwards-compatibility patch for right-click menu in IDLE.
- Issue #1207589: Backwards-compatibility patch for right-click menu in IDLE.
- Issue #16887: IDLE now accepts Cancel in tabify/untabify dialog box.
- Issue #16887: IDLE now accepts Cancel in tabify/untabify dialog box.
...
...
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