Bug 1043682 - Caret positioning glitch after deleting a saved draft

Thanks for your recommendation. I never knew about "setStartBefore / setStartAfter" and it's a better way indeed. I'll update my patch later and try your way for unit tests.