I have a simple PyQt text editor, and would like to apply QScintilla formatting to it. I need to use a QTextEdit for the text, as it provides other functionality that I am using (cursor position, raw text output, etc), and would like to apply QScintilla formatting.
Just for refrence, the initialisation of the QTextEdit:
self.text = QtGui.QTextEdit(self)