I want to add new line in the given cursor position in QTextEdit. I tried what\'s below.
Here new line is added to the end:
self.textEdit.moveCursor(QT