show paste if > 80 columns. Patch 1659326 Tal Einat.
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 3126c2f..f95b1a6 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -414,6 +414,7 @@
def paste(self,event):
self.text.event_generate("<<Paste>>")
+ 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 b54d70d..5d165bb 100644
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -3,6 +3,8 @@
*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.