]> granicus.if.org Git - python/commitdiff
show paste if > 80 columns. Patch 1659326 Tal Einat.
authorKurt B. Kaiser <kbk@shore.net>
Wed, 10 Oct 2007 01:06:47 +0000 (01:06 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Wed, 10 Oct 2007 01:06:47 +0000 (01:06 +0000)
Lib/idlelib/EditorWindow.py
Lib/idlelib/NEWS.txt

index 3126c2f0f44f167dc633f2b271006b03394230ee..f95b1a6aba7c20073c25de335f61dfc2708debb6 100644 (file)
@@ -414,6 +414,7 @@ class EditorWindow(object):
 
     def paste(self,event):
         self.text.event_generate("<<Paste>>")
+        self.text.see("insert")
         return "break"
 
     def select_all(self, event=None):
index b54d70d41b4ba5e954983b3281751d97a4e11d06..5d165bb9a2cddf9d8d9b3b9db44b15861ecb5379 100644 (file)
@@ -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.