Mercurial > cpython-lru_cache-weakref
diff Mac/Tools/IDE/PyConsole.py @ 27312:9220098f0327 legacy-trunk
Fix bug #670845: cut & clear in the output window now work, in that
- clear clears the entire buffer
- cut doesn't cut, but copies.
| author | Just van Rossum <just@letterror.com> |
|---|---|
| date | Mon, 20 Jan 2003 09:02:23 +0000 |
| parents | 418a7ec92599 |
| children | ea5ee3e7bfb1 |
line wrap: on
line diff
--- a/Mac/Tools/IDE/PyConsole.py Mon Jan 20 04:49:37 2003 +0000 +++ b/Mac/Tools/IDE/PyConsole.py Mon Jan 20 09:02:23 2003 +0000 @@ -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:
