From: Kurt B. Kaiser Date: Thu, 14 Feb 2008 04:30:55 +0000 (+0000) Subject: format_paragraph_event wasn't returning 'break' X-Git-Tag: v2.5.2c1~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9259d72c8657d47cbcaa873f29783ce005ebc8e;p=python format_paragraph_event wasn't returning 'break' Backport r59463 --- diff --git a/Lib/idlelib/FormatParagraph.py b/Lib/idlelib/FormatParagraph.py index ed9f28d125..f30898e8ff 100644 --- a/Lib/idlelib/FormatParagraph.py +++ b/Lib/idlelib/FormatParagraph.py @@ -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(".")) diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index aa7419f547..5c08a92371 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -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