From 631fee62351397e940e4616ef48f03788962c3eb Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Wed, 10 Oct 2007 01:06:47 +0000 Subject: [PATCH] show paste if > 80 columns. Patch 1659326 Tal Einat. --- Lib/idlelib/EditorWindow.py | 1 + Lib/idlelib/NEWS.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 3126c2f0f44..f95b1a6aba7 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 b54d70d41b4..5d165bb9a2c 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.