From: Kurt B. Kaiser <kbk@shore.net>
Date: Fri, 4 Oct 2002 21:33:57 +0000 (+0000)
Subject: Apply Josh Robb's Patch
X-Git-Tag: v2.3c1~3880
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1dee069831c5551dc28d90d495ab5de967c17d5;p=python

Apply Josh Robb's Patch
[ 617125 ] EditorWindow.py: Fix the wrap
(used 'none' instead of NONE)
---

diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 45481ed53f..594a08580f 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -61,7 +61,7 @@ class EditorWindow:
         self.break_set = False
         self.vbar = vbar = Scrollbar(top, name='vbar')
         self.text_frame = text_frame = Frame(top)
-        self.text = text = Text(text_frame, name='text', padx=5, wrap=None,
+        self.text = text = Text(text_frame, name='text', padx=5, wrap='none',
                 foreground=idleConf.GetHighlight(currentTheme,
                         'normal',fgBg='fg'),
                 background=idleConf.GetHighlight(currentTheme,