on_global_prev/next() should terminate at grepmode.
doc change.