Issue by zaggino
Monday Apr 14, 2014 at 23:29 GMT
Originally opened as adobe/brackets#7509
Useful nit to avoid calling DocumentManager.getCurrentDocument() everytime when hooked on the event and also the only way to know what was the previous document I think.
zaggino included the following code: https://github.com/adobe/brackets/pull/7509/commits