Add hed_cursor_span() to the API