How to start text from down in QTextEdit
-
@ARASHz4 I'm sorry. I can't understand you question. What do you mean by "down"?
-
Well I guess on:
Showing the last text so to speak.You can make it scroll down by
ui->textEdit->verticalScrollBar()->setValue(ui.textEdit->verticalScrollBar()->maximum());If that is not what what you mean, then please spend little more time to describe better what you try to do :)
-
@ARASHz4
You can move the cursor with
QTextCursor textCursor = ui->textEdit->textCursor();
textCursor.movePosition(QTextCursor::Start, QTextCursor::MoveAnchor,1);
ui->textEdit->setTextCursor(textCursor);
