adobe/brackets — pull request #4927 by lkcampbell (2013-08-24 16:36:08+00:00)
Title: Fix unit test failure from pull request #4878.  Added unit test for hiding Active Line highlight when editor has selection.

Here's the fix for the unit test errors caused by pull request #4878. I moved the check out of the toggle command code and into the setOption() code per the suggestion of @jasonsanjose.

I also added a new unit test to check for the temporary hiding of the Active Line Highlight when there is an editor selection. Tested the positive and negative scenarios. Ran the entire test suite. Everything looks good.