diff options
author | Just van Rossum <just@letterror.com> | 2003-01-20 09:02:23 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2003-01-20 09:02:23 (GMT) |
commit | 7a503a4ee6551cc7f19ced60121985f3c5116c43 (patch) | |
tree | 16626d651b958920de1ad3bab71e9b04b5ee1e89 /Mac | |
parent | 0b743441a60640824360bdff15780fc5d40489d6 (diff) | |
download | cpython-7a503a4ee6551cc7f19ced60121985f3c5116c43.zip cpython-7a503a4ee6551cc7f19ced60121985f3c5116c43.tar.gz cpython-7a503a4ee6551cc7f19ced60121985f3c5116c43.tar.bz2 |
Fix bug #670845: cut & clear in the output window now work, in that
- clear clears the entire buffer
- cut doesn't cut, but copies.
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Tools/IDE/PyConsole.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/PyConsole.py b/Mac/Tools/IDE/PyConsole.py index 9a4a44b..3fae413 100644 --- a/Mac/Tools/IDE/PyConsole.py +++ b/Mac/Tools/IDE/PyConsole.py @@ -249,6 +249,12 @@ class OutputTextWidget(W.EditText): f.close() fss.SetCreatorType(W._signature, 'TEXT') + def domenu_cut(self, *args): + self.domenu_copy(*args) + + def domenu_clear(self, *args): + self.set('') + class PyOutput: |