refs developer-documentation/#14 make sure to only search starting from cursor