title: Get QTextEdit changes when textChanged() signal is emited
body: <p>I have a <code>QTextEdit</code> and I connected the <code>textChanged()</code> slot to a signal. How can I find the changes when the signal is emitted. For example, I want to save the cursor position and the character written when I write something. </p>