summaryrefslogtreecommitdiff
path: root/Lib/idlelib/editor.py
diff options
context:
space:
mode:
authorTal Einat <taleinat+github@gmail.com>2019-01-13 17:01:50 +0200
committerGitHub <noreply@github.com>2019-01-13 17:01:50 +0200
commit39a33e99270848d34628cdbb1fdb727f9ede502a (patch)
tree37e17a396741a0a98790b2bbcd6a24e2e730adca /Lib/idlelib/editor.py
parent995d9b92979768125ced4da3a56f755bcdf80f6e (diff)
downloadcpython-git-39a33e99270848d34628cdbb1fdb727f9ede502a.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.
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."""