From 213ce12adfc9281c6f381bb45d132e9de8ffd450 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 27 Jun 2017 07:02:32 +0300 Subject: bpo-29910: IDLE no longer deletes a character after commenting out a region (#825) This happened because shortcut has a class binding and 'break' was not returned. Fix other potential conflicts between IDLE and default key bindings. * Add news item * Update NEWS --- Lib/idlelib/codecontext.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/idlelib/codecontext.py') diff --git a/Lib/idlelib/codecontext.py b/Lib/idlelib/codecontext.py index f25e1b33a0..09dc078d63 100644 --- a/Lib/idlelib/codecontext.py +++ b/Lib/idlelib/codecontext.py @@ -89,6 +89,7 @@ class CodeContext: idleConf.SetOption("extensions", "CodeContext", "visible", str(self.label is not None)) idleConf.SaveUserCfgFiles() + return "break" def get_line_info(self, linenum): """Get the line indent value, text, and any block start keyword -- cgit v1.2.1