Hmmm, I make changes in editor and preview the theme. The changes are permanent. I have done that a couple of times. Although it's a bit fiddly.
But as WPyogi says develop it locally or in a sub directory. Either way you won't have to delete the old theme until you are ready.