adobe/brackets — pull request #2300 by peterflynn (2012-12-06 23:26:32+00:00)
Title: Fix bug / unit test failure when closing last file in working set

This was introduced by pull #2122: when closing the last file in the working set, getNextPrevFile()'s semantics aren't a perfect match for what we want. Need a special case.

@redmunds, can you review?