diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-06-27 07:02:32 +0300 |
---|---|---|
committer | terryjreedy <tjreedy@udel.edu> | 2017-06-27 00:02:32 -0400 |
commit | 213ce12adfc9281c6f381bb45d132e9de8ffd450 (patch) | |
tree | db01c6fdab2e3a9c986d5b49c5294d309ae11f56 /Lib/idlelib/codecontext.py | |
parent | 9a02ae3d3d645f0c8178f3362694f473bab6fe3e (diff) | |
download | cpython-git-213ce12adfc9281c6f381bb45d132e9de8ffd450.tar.gz |
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
Diffstat (limited to 'Lib/idlelib/codecontext.py')
-rw-r--r-- | Lib/idlelib/codecontext.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |