Fixed edit() for different sublime versions
Allows for edit( @which <xxx> )
Merge pull request #6237 from cbecker/master

Fix and improvement for edit()