adobe/brackets — pull request #793 by peterflynn (2012-05-02 23:07:18+00:00)
Title: Fix bug #755 (Hard to quit Brackets if unsaved file deleted/renamed on disk)

Fix bug #755 (Unable to quit Brackets while discarding unsaved changes, if unsaved file was deleted/renamed on disk) -- If we're in "promptOnly" mode we're not actually closing the file, so we shouldn't try to reload its contents from disk.

This bug afflicted several cases: quit/window-close, reload, and switching folders. (Switching folders is especially key, because you should be able to cancel the subsequent folder picker and remain on the old folder without all your files now being closed/reverted).