Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
This code is not working for me. Any help will be appreciated. Thank you in advance.
cursor = self.plainTextEdit.textCursor() cursor.movePosition(QTextCursor.MoveOperation.Right, QTextCursor.MoveMode.MoveAnchor, 1)
@Sayan add : self.plainTextEdit.setTextCursor(cursor)
@mpergand it works. Thank you!!