def get_linkrect_idx(self, pos):
for i, r in enumerate(self.link_rects):<EOL><INDENT>if r.Contains(pos):<EOL><INDENT>return i<EOL><DEDENT><DEDENT>return -<NUM_LIT:1><EOL>
Determine if cursor is inside one of the link hot spots.