mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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.
This commit is contained in:
parent
995d9b9297
commit
39a33e9927
6 changed files with 239 additions and 255 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue