Open restonslacker opened 9 years ago
@restonslacker This would be a nice addition indeed. I am swamped with work at the moment, but I'll get to it as soon as I can free up some time.
totally understood. I am too (and a new baby), otherwise i would have sent a PR.
It would be nice if there was a way to save the file you just edited after closing editR. It's common among word processors to warn the user that they are about to close a file with unsaved changes. i don't think that's easy to do with a shiny app, but my suggestion would be an implementation something like this:
runApp()
call exits in theeditR()
function, prompt the user to save changes to the file if the temp file and the master file differ.editR(file, saveOnExit)
where save on exit would be a boolean that forces a behavior and skips the user prompt.