PDA

View Full Version : QTextDocument::contentsChange signal



jlbrd
19th August 2006, 13:53
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

jacek
19th August 2006, 14:38
Maybe QTextDocument::findBlock() or QTextCursor::movePosition() will help?