Rebasing was done using parameters from QTextDocument::contentsChange() signal incorrectly.
This caused the markup to be displayed in wrong position, and sometimes in an assert
in KoTextBlockData::appendMarkup().
This patch depends on that a simple edit is always the same as adding one character.