maqetta/maqetta — Issue #1538: Delete file when file is open in editor
Author: JonFerraiolo
Created: 2012-01-11 05:55:56+00:00
State: open
Labels: Files View, Priority Low

* Create folder
* Create two CSS files inside that folder
* Open one of the CSS files
* In Files palette, delete the folder

Result=> folder and the two files are deleted, but the editor is still open

Not sure what's the best way to handle this situation. My best suggestion is that before doing a delete action we check to see if the action would affect any open editors, and if so, put up an error dialog telling user he needs to close the editors before the action can be effected.