]> granicus.if.org Git - python/commitdiff
format_paragraph_event wasn't returning 'break'
authorKurt B. Kaiser <kbk@shore.net>
Thu, 14 Feb 2008 04:30:55 +0000 (04:30 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Thu, 14 Feb 2008 04:30:55 +0000 (04:30 +0000)
Backport r59463

Lib/idlelib/FormatParagraph.py
Lib/idlelib/NEWS.txt

index ed9f28d125090a1d679828c86417717b18201d0c..f30898e8ffd5d3d5fd83e272954676b9d944c594 100644 (file)
@@ -75,6 +75,7 @@ class FormatParagraph:
         else:
             text.mark_set("insert", last)
         text.see("insert")
+        return "break"
 
 def find_paragraph(text, mark):
     lineno, col = map(int, mark.split("."))
index aa7419f54741308e37d9e8242c3f26b657fa6a80..5c08a92371e253a2d9ba783958c5edbe8f34bd24 100644 (file)
@@ -3,6 +3,8 @@ What's New in IDLE 1.2.2c1?
 
 *Release date: XX-FEB-2008*
 
+- format_paragraph_event wasn't returning a 'break' (backport r59453)
+
 - Corrected some bugs in AutoComplete.  Also, Page Up/Down in ACW implemented;                                                                               
   mouse and cursor selection in ACWindow implemented; double Tab inserts      
   current selection and closes ACW (similar to double-click and Return); scroll