QTextCursor::setBlockFormat should not change undo stack