From: Kurt B. Kaiser Date: Wed, 10 Oct 2007 01:06:47 +0000 (+0000) Subject: show paste if > 80 columns. Patch 1659326 Tal Einat. X-Git-Tag: v2.6a1~1201 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=631fee62351397e940e4616ef48f03788962c3eb;p=thirdparty%2FPython%2Fcpython.git show paste if > 80 columns. Patch 1659326 Tal Einat. --- diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 3126c2f0f44f..f95b1a6aba7c 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -414,6 +414,7 @@ class EditorWindow(object): def paste(self,event): self.text.event_generate("<>") + self.text.see("insert") return "break" def select_all(self, event=None): diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index b54d70d41b4b..5d165bb9a2cd 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -3,6 +3,8 @@ What's New in IDLE 2.6a1? *Release date: XX-XXX-200X* +- Show paste position if > 80 col. Patch 1659326 Tal Einat. + - Update cursor color without restarting. Patch 1725576 Tal Einat. - Allow keyboard interrupt only when user code is executing in subprocess.