summaryrefslogtreecommitdiff
path: root/Lib/idlelib/editor.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-01-13 08:43:08 -0800
committerGitHub <noreply@github.com>2019-01-13 08:43:08 -0800
commit47bd7770229b5238a438703ee1d52da2e983ec9e (patch)
tree9e033e7b97fba6aebe843f40ecbebd2e2564fc03 /Lib/idlelib/editor.py
parent678c5c07521caca809b1356d954975e6234c49ae (diff)
downloadcpython-git-47bd7770229b5238a438703ee1d52da2e983ec9e.tar.gz
bpo-35196: Optimize Squeezer's write() interception (GH-10454)
The new functionality of Squeezer.reload() is also tested, along with some general re-working of the tests in test_squeezer.py. (cherry picked from commit 39a33e99270848d34628cdbb1fdb727f9ede502a) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
Diffstat (limited to 'Lib/idlelib/editor.py')
-rw-r--r--Lib/idlelib/editor.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/idlelib/editor.py b/Lib/idlelib/editor.py
index f4437668a3..d13ac3786d 100644
--- a/Lib/idlelib/editor.py
+++ b/Lib/idlelib/editor.py
@@ -317,9 +317,6 @@ class EditorWindow(object):
text.bind("<<zoom-height>>", self.ZoomHeight(self).zoom_height_event)
text.bind("<<toggle-code-context>>",
self.CodeContext(self).toggle_code_context_event)
- squeezer = self.Squeezer(self)
- text.bind("<<squeeze-current-text>>",
- squeezer.squeeze_current_text_event)
def _filename_to_unicode(self, filename):
"""Return filename as BMP unicode so diplayable in Tk."""