Is there a way to loop through each block in a text document/qplaintextedit
Solved
General and Desktop
-
@Fuchsiaff Hi,
Something like this maybe :for (QTextBlock it = doc->begin(); it != doc->end(); it = it.next()) cout << it.text().toStdString() << endl;