Fix bug #670845: cut & clear in the output window now work, in that

- clear clears the entire buffer
  - cut doesn't cut, but copies.
This commit is contained in:
Just van Rossum 2003-01-20 09:02:23 +00:00
parent 0b743441a6
commit 7a503a4ee6
1 changed files with 6 additions and 0 deletions

View File

@ -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: