made first example for reverting text deleted / text inserted events.