closes bugs #991990 & #991991 - url hash is consistent with ranges, ctrl toggles single lines properly