[Python-checkins] cpython (merge 3.4 -> 3.5): Merge with 3.4

terry.reedy python-checkins at python.org
Mon Sep 28 10:53:28 CEST 2015


https://hg.python.org/cpython/rev/ab9f41deb0c8
changeset: 98352:ab9f41deb0c8
branch: 3.5
parent: 98348:2749f6b6f443
parent: 98351:460e6e6fb09a
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Mon Sep 28 04:53:01 2015 -0400
summary:
 Merge with 3.4
files:
 Lib/idlelib/EditorWindow.py | 4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -755,8 +755,10 @@
 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 + "_"
 
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /