adobe/brackets — pull request #1872 by gruehle (2012-10-18 00:32:56+00:00)
Title: Fix problem where _currentDocument.file.fullPath was being updated twice...

Fix for issue #1870

When updating full paths after a rename, there is no need to update _currentDocument since we also update all open documents, and the current document is always in the open document list.

The problem occurred when a new filename was exactly the same as the old, but had additional characters at the end (for example, renaming index.htm to index.html).