[Python-checkins] python/dist/src/Lib/idlelib CREDITS.txt, 1.10, 1.11 ColorDelegator.py, 1.14, 1.15 EditorWindow.py, 1.67, 1.68 NEWS.txt, 1.58, 1.59 help.txt, 1.12, 1.13
kbk@users.sourceforge.net
kbk at users.sourceforge.net
Sun Jun 12 06:33:33 CEST 2005
Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30052
Modified Files:
CREDITS.txt ColorDelegator.py EditorWindow.py NEWS.txt
help.txt
Log Message:
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
Index: CREDITS.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/CREDITS.txt,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- CREDITS.txt 16 Jul 2003 03:10:43 -0000 1.10
+++ CREDITS.txt 12 Jun 2005 04:33:30 -0000 1.11
@@ -23,8 +23,8 @@
integration and persistent breakpoints).
Scott David Daniels, Hernan Foffani, Christos Georgiou, Martin v. Löwis,
-Jason Orendorff, Noam Raphael, Josh Robb, Nigel Rowe, and Bruce Sherwood have
-submitted useful patches. Thanks, guys!
+Jason Orendorff, Noam Raphael, Josh Robb, Nigel Rowe, Bruce Sherwood, and
+Jeff Shute have submitted useful patches. Thanks, guys!
For additional details refer to NEWS.txt and Changelog.
Index: ColorDelegator.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/ColorDelegator.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- ColorDelegator.py 15 Mar 2004 04:26:37 -0000 1.14
+++ ColorDelegator.py 12 Jun 2005 04:33:30 -0000 1.15
@@ -237,6 +237,9 @@
if DEBUG: print "colorizing stopped"
return
+ def removecolors(self):
+ for tag in self.tagdefs.keys():
+ self.tag_remove(tag, "1.0", "end")
def main():
from Percolator import Percolator
Index: EditorWindow.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/EditorWindow.py,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- EditorWindow.py 31 Jan 2005 03:34:26 -0000 1.67
+++ EditorWindow.py 12 Jun 2005 04:33:30 -0000 1.68
@@ -491,7 +491,7 @@
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 @@
def rmcolorizer(self):
if not self.color:
return
+ self.color.removecolors()
self.per.removefilter(self.undo)
self.per.removefilter(self.color)
self.color = None
Index: NEWS.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/NEWS.txt,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- NEWS.txt 10 May 2005 03:44:24 -0000 1.58
+++ NEWS.txt 12 Jun 2005 04:33:30 -0000 1.59
@@ -3,6 +3,10 @@
*Release date: XX-XXX-2005*
+- 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
+
- Improve subprocess link error notification.
- run.py: use Queue's blocking feature instead of sleeping in the main
Index: help.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/help.txt,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- help.txt 24 Apr 2004 03:08:13 -0000 1.12
+++ help.txt 12 Jun 2005 04:33:30 -0000 1.13
@@ -132,7 +132,8 @@
Basic editing and navigation:
- Backspace deletes to the left; DEL deletes to the right.
+ Backspace deletes char to the left; DEL deletes char to the right.
+ Control-backspace deletes word left, Control-DEL deletes word right.
Arrow keys and Page Up/Down move around.
Control-left/right Arrow moves by words in a strange but useful way.
Home/End go to begin/end of line.
More information about the Python-checkins
mailing list