]> granicus.if.org Git - python/commitdiff
Apply Josh Robb's Patch
authorKurt B. Kaiser <kbk@shore.net>
Fri, 4 Oct 2002 21:33:57 +0000 (21:33 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Fri, 4 Oct 2002 21:33:57 +0000 (21:33 +0000)
[ 617125 ] EditorWindow.py: Fix the wrap
(used 'none' instead of NONE)

Lib/idlelib/EditorWindow.py

index 45481ed53f540871d0c9874001eeea28981248f0..594a08580ff9cb2afc94724d697598d3ca1ec818 100644 (file)
@@ -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,