added a check to getCurrentSelectionRange to make sure nothing is selected
Merge pull request #1 from Pyloneer/master

added a check to getCurrentSelectionRange to make sure nothing is select...