From f9259d72c8657d47cbcaa873f29783ce005ebc8e Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Thu, 14 Feb 2008 04:30:55 +0000 Subject: [PATCH] format_paragraph_event wasn't returning 'break' Backport r59463 --- Lib/idlelib/FormatParagraph.py | 1 + Lib/idlelib/NEWS.txt | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.40.0