mirror of https://github.com/python/cpython
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:
parent
0b743441a6
commit
7a503a4ee6
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue