mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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
1 changed files with 6 additions and 0 deletions
|
@ -249,6 +249,12 @@ class OutputTextWidget(W.EditText):
|
||||||
f.close()
|
f.close()
|
||||||
fss.SetCreatorType(W._signature, 'TEXT')
|
fss.SetCreatorType(W._signature, 'TEXT')
|
||||||
|
|
||||||
|
def domenu_cut(self, *args):
|
||||||
|
self.domenu_copy(*args)
|
||||||
|
|
||||||
|
def domenu_clear(self, *args):
|
||||||
|
self.set('')
|
||||||
|
|
||||||
|
|
||||||
class PyOutput:
|
class PyOutput:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue