bpo-1529353: IDLE: squeeze large output in the shell (GH-7626)

This commit is contained in:
Tal Einat 2018-09-25 15:10:14 +03:00 committed by GitHub
parent 5b3cbcd4a0
commit 604e7b9931
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 974 additions and 29 deletions

View file

@ -856,6 +856,10 @@ class PyShell(OutputWindow):
("help", "_Help"),
]
# Extend right-click context menu
rmenu_specs = OutputWindow.rmenu_specs + [
("Squeeze", "<<squeeze-current-text>>"),
]
# New classes
from idlelib.history import History