adobe/brackets — pull request #4312 by couzteau (2013-06-21 18:04:53+00:00)
Title: replace FileUtils.parseUrl with own implementation getParent

FileUtils.parseUrl erroneously remove the drive letter from the path on win which may result in a wrong default directory for the save as dialog.

getParent removes that error while maintaing the the same semantics as FileUtils.

There are about 20 instances in the brackets code using .lastIndexOf("/") that may potentially benefit from using the new API. I will send another pull request updating use cases where it makes sense to use the new API