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

This commit is contained in:
Terry Jan Reedy 2015-09-28 04:52:49 -04:00
parent 507a5c4b4e
commit d351706950

View file

@ -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 + "_"