mirror of
https://github.com/python/cpython.git
synced 2025-07-28 05:34:31 +00:00
Lots of minor tweaks for the pep252 checkins, mainly because Qd
attributes are no longer supported.
This commit is contained in:
parent
202355a333
commit
362c7cd07b
25 changed files with 60 additions and 61 deletions
|
@ -108,8 +108,8 @@ class ConsoleTextWidget(W.EditText):
|
|||
self._buf = ""
|
||||
self.ted.WEClearUndo()
|
||||
self.updatescrollbars()
|
||||
if Qd.QDIsPortBuffered(self._parentwindow.wid):
|
||||
Qd.QDFlushPortBuffer(self._parentwindow.wid, None)
|
||||
if self._parentwindow.wid.GetWindowPort().QDIsPortBuffered():
|
||||
self._parentwindow.wid.GetWindowPort().QDFlushPortBuffer(None)
|
||||
|
||||
def selection_ok(self):
|
||||
selstart, selend = self.getselection()
|
||||
|
@ -300,8 +300,8 @@ class PyOutput:
|
|||
self._buf = ""
|
||||
self.w.outputtext.updatescrollbars()
|
||||
self.w.outputtext.ted.WEFeatureFlag(WASTEconst.weFReadOnly, 1)
|
||||
if Qd.QDIsPortBuffered(self.w.wid):
|
||||
Qd.QDFlushPortBuffer(self.w.wid, None)
|
||||
if self.w.wid.GetWindowPort().QDIsPortBuffered():
|
||||
self.w.wid.GetWindowPort().QDFlushPortBuffer(None)
|
||||
|
||||
def show(self):
|
||||
if self.closed:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue