summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-09-28 08:53:12 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-09-28 08:53:12 (GMT)
commit69158d56a0ff60123b6d0e9cdbf473ee05ef13e1 (patch)
tree11898fc885f5c61f5b3a8881f6a5c6e719172718 /Lib/idlelib/EditorWindow.py
parent3a03a1cb00e7286565d6b51023b0bc767edb6afc (diff)
parentbcb0c134cb4824f1b6ceda4b35869b2333a1135b (diff)
downloadcpython-69158d56a0ff60123b6d0e9cdbf473ee05ef13e1.zip
cpython-69158d56a0ff60123b6d0e9cdbf473ee05ef13e1.tar.gz
cpython-69158d56a0ff60123b6d0e9cdbf473ee05ef13e1.tar.bz2
Merge with 3.5
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r--Lib/idlelib/EditorWindow.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index d742dd6..a634d1f 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -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 + "_"