As the title says, how can I receive notification whenever a multi-line QTextEdit changes the size of its content?
(Note: content size is different from the control size, i.e. I want to know when lines were added or removed, or changed height because of a font change).
QTextEdithas atextChanged()signal which will do what you want. From the docs:I wasn’t sure if formatting included font changes but I tested it and it does.