When trying to comment on a ticket in BitBucket, I was attempting to go back and put backticks (for code markup) around a piece of my comment, but the backtick key is extremely close to the escape key on most laptops. Unfortunately hitting escape wipes your entire comment. In my case this was quite a large amount of text. There seems to be no way to "undo" this action, ctrl-z was not working.