Lines Matching refs:eventno
644 int sv_event = el->el_history.eventno; in ed_prev_history()
649 if (el->el_history.eventno == 0) { /* save the current buffer in ed_prev_history()
656 el->el_history.eventno += el->el_state.argument; in ed_prev_history()
660 el->el_history.eventno = sv_event; in ed_prev_history()
686 el->el_history.eventno -= el->el_state.argument; in ed_next_history()
688 if (el->el_history.eventno < 0) { in ed_next_history()
689 el->el_history.eventno = 0; in ed_next_history()
715 if (el->el_history.eventno < 0) { in ed_search_prev_history()
720 el->el_history.eventno = 0; in ed_search_prev_history()
723 if (el->el_history.eventno == 0) { in ed_search_prev_history()
738 for (h = 1; h <= el->el_history.eventno; h++) in ed_search_prev_history()
762 el->el_history.eventno = h; in ed_search_prev_history()
784 if (el->el_history.eventno == 0) in ed_search_next_history()
796 for (h = 1; h < el->el_history.eventno && hp; h++) { in ed_search_next_history()
816 el->el_history.eventno = found; in ed_search_next_history()