mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Issue #24972: New option is only valid in tk 8.5+.
This commit is contained in:
parent
507a5c4b4e
commit
d351706950
1 changed files with 3 additions and 1 deletions
|
@ -755,8 +755,10 @@ class EditorWindow(object):
|
||||||
insertbackground=cursor_color,
|
insertbackground=cursor_color,
|
||||||
selectforeground=select_colors['foreground'],
|
selectforeground=select_colors['foreground'],
|
||||||
selectbackground=select_colors['background'],
|
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 + "_"
|
IDENTCHARS = string.ascii_letters + string.digits + "_"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue