summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2007-10-10 01:06:47 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2007-10-10 01:06:47 (GMT)
commit631fee62351397e940e4616ef48f03788962c3eb (patch)
tree6480c16dcb52fd7dcb15e1b0c60f6f927843ccbc /Lib/idlelib
parentcca976b11c754304544b8d1fcc543c3000019f4a (diff)
downloadcpython-631fee62351397e940e4616ef48f03788962c3eb.zip
cpython-631fee62351397e940e4616ef48f03788962c3eb.tar.gz
cpython-631fee62351397e940e4616ef48f03788962c3eb.tar.bz2
show paste if > 80 columns. Patch 1659326 Tal Einat.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/EditorWindow.py1
-rw-r--r--Lib/idlelib/NEWS.txt2
2 files changed, 3 insertions, 0 deletions
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 @@ class EditorWindow(object):
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 @@ 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.