I keep copying and pasting into a text file if I do big posts, as this has happened to me more than once and it really is demoralising. My problem is I accidentally refresh the page, which is the real killer, as you can sometimes get it back by hitting the forward/back buttons on your browser.