1. Patch 1196895 Jeff Shute:

New files are colorized by default, and colorizing is removed when
   saving as non-Python files. Patch 1196895 Jeff Shute
   Closes Python Bugs 775012 and 800432, partial fix IDLEfork 763524

2. Update help.txt for left/right word delete

M CREDITS.txt
M ColorDelegator.py
M EditorWindow.py
M NEWS.txt
M help.txt
This commit is contained in:
Kurt B. Kaiser 2005-06-12 04:33:30 +00:00
parent 2e23e08f04
commit df506ea98b
5 changed files with 13 additions and 4 deletions

View file

@ -491,7 +491,7 @@ class EditorWindow(object):
self.center()
def ispythonsource(self, filename):
if not filename:
if not filename or os.path.isdir(filename):
return True
base, ext = os.path.splitext(os.path.basename(filename))
if os.path.normcase(ext) in (".py", ".pyw"):
@ -532,6 +532,7 @@ class EditorWindow(object):
def rmcolorizer(self):
if not self.color:
return
self.color.removecolors()
self.per.removefilter(self.undo)
self.per.removefilter(self.color)
self.color = None