def search_goto_line line
    page_down while line >= botline
    page_up while line < topline
    set_cursor_pos line
  end
def search_goto_line line
    page_down while line >= botline
    page_up while line < topline
    set_cursor_pos line
  end
override search behavior to be cursor-based. this is a stupid
 implementation and should be made better. TODO: improve.