QTextDocument::contentChanged tells you how many characters have been removed, but not what has been removed. I’m looking into storing QTextBlocks or similar and comparing before and after… but it sounds complicated and error-prone.
↧