add new implementation of doubleclickrowindex() -- fix bad indent