Allow prepending/appending to the editor.

These methods don't mess with the cursor location.