I cannot reproduce this! The editor refreshed but the history is preserved?! Did you save the class when you modified it in the editor?