I need to limit the amount of text in a QTextEdit so that the user can't go beyond the size of visible space, that is, no scrolling. If the user tries to do so, i need to emit a signal to post a limit message.
Stopping scrolling leads to a very poor document response, both for the last line and the cursor. Limiting the number of blocks can not overcome long lines. Is there a good way to do this? Thanks.
Bookmarks