Hi,
QTextDocument::contentsChange( int position, int charsRemoved, int charsAdded ) allows to know the number and the position of characters added or deleted. But how to know the string removed or added.
Thanks
Printable View
Hi,
QTextDocument::contentsChange( int position, int charsRemoved, int charsAdded ) allows to know the number and the position of characters added or deleted. But how to know the string removed or added.
Thanks
Maybe QTextDocument::findBlock() or QTextCursor::movePosition() will help?