From 7a503a4ee6551cc7f19ced60121985f3c5116c43 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 20 Jan 2003 09:02:23 +0000 Subject: [PATCH] Fix bug #670845: cut & clear in the output window now work, in that - clear clears the entire buffer - cut doesn't cut, but copies. --- Mac/Tools/IDE/PyConsole.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Mac/Tools/IDE/PyConsole.py b/Mac/Tools/IDE/PyConsole.py index 9a4a44be095..3fae413987c 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: