In typewright, save the last line edited when leaving the page.