adobe/brackets — pull request #1075 by jason-sanjose (2012-06-19 21:30:31+00:00)
Title: Issue 1072. Use getDocumentForPath instead of getOpenDocumentForPath.

#1072

``workingSetAdd`` does not necessarily mean that (a) the file is in the project or (b) the file is open in an editor. Even though we handle the app-init case, we didn't handle the project switching case where the new project removes and re-adds files in the working set. ChangedDocumentTracker responds to the working set changes before the new project's documents are opened.