adobe/brackets — pull request #1707 by ckarande (2012-09-24 18:48:01+00:00)
Title: Fix for issue 1561

Added logic to add / remove checkmark next to 'Live Preview' menu item.

The fix is added not exactly at TODOs, and outside of the if/else block to address the case of attempting to open non-htm files in live preview. In that case, the LiveDevelopment.status stays in STATUS_INACTIVE in the else block, so had to explicitly check the it before adding the checkmark.

Please let me know if any suggestions.