How to change format of a block within a QTextDocument without effecting undo stack?

Printable View