Commit d3517069 authored by Terry Jan Reedy's avatar Terry Jan Reedy

Issue #24972: New option is only valid in tk 8.5+.

parent 507a5c4b
......@@ -755,8 +755,10 @@ class EditorWindow(object):
insertbackground=cursor_color,
selectforeground=select_colors['foreground'],
selectbackground=select_colors['background'],
inactiveselectbackground=select_colors['background'],
)
if TkVersion >= 8.5:
self.text.config(
inactiveselectbackground=select_colors['background'])
IDENTCHARS = string.ascii_letters + string.digits + "_"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment