adobe/brackets — pull request #4514 by bchintx (2013-07-19 04:34:06+00:00)
Title: Fixed issue #4489- "Save/Close All with multiple untitled documents gives ambiguous Save dialogs"

Fixed issue #4489- "Save/Close All with multiple untitled documents gives ambiguous Save dialogs"

When prompting to save-as an untitled document, activate that document in the editor. This causes the untitled document to display in the editor *and* prepopulate the untitled document's name (eg. "Untitled-1") in the Save As dialog.

As a result, if the user does, for example, a Save All, then as each untitled document is prompting to save, Brackets will switch to and display that specific document.

Successfully completed all 'Unit", "Integration", and "Extensions" unit tests on both Mac and Win.