'Reimplement Qt method
Fix PyQt4 bug on Windows and Python 3'

def toPlainText(self):

    if ((os.name == 'nt') and PY3):
        text = self.get_text('sof', 'eof')
        return text.replace('\\u2028', '\n').replace('\\u2029', '\n').replace('\\u0085', '\n')
    else:
        return super(TextEditBaseWidget, self).toPlainText()
