summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-09-28 08:53:01 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-09-28 08:53:01 (GMT)
commitbcb0c134cb4824f1b6ceda4b35869b2333a1135b (patch)
tree3f0b57922d104494327699a7239369c1b3b746ef
parent0b6e6e159191243c13e8ed51688016e878245ba0 (diff)
parentd351706950a04a785eb37fe907610d3235719bb4 (diff)
downloadcpython-bcb0c134cb4824f1b6ceda4b35869b2333a1135b.zip
cpython-bcb0c134cb4824f1b6ceda4b35869b2333a1135b.tar.gz
cpython-bcb0c134cb4824f1b6ceda4b35869b2333a1135b.tar.bz2
Merge with 3.4
-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 + "_"