Apparently, Firefox returns one range per line of selected code for multiline range comments, while Chrome and Safari merge those ranges into one. This change uses first and last range for multiple range selections as, respectively, a start and end points. Bug: Issue 6557 Change-Id: Ib59f0c273b41433b07d333d084cadd5749ba36d9