commit | 7a503a4ee6551cc7f19ced60121985f3c5116c43 | [log] [tgz] |
---|---|---|
author | Just van Rossum <just@letterror.com> | Mon Jan 20 09:02:23 2003 +0000 |
committer | Just van Rossum <just@letterror.com> | Mon Jan 20 09:02:23 2003 +0000 |
tree | 16626d651b958920de1ad3bab71e9b04b5ee1e89 | |
parent | 0b743441a60640824360bdff15780fc5d40489d6 [diff] [blame] |
Fix bug #670845: cut & clear in the output window now work, in that - clear clears the entire buffer - cut doesn't cut, but copies.
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 @@ 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: