Home
last modified time | relevance | path

Searched refs:eventno (Results 1 – 6 of 6) sorted by relevance

/libedit-20250104-3.1/src/
Dcommon.c564 int sv_event = el->el_history.eventno; in ed_prev_history()
580 el->el_history.eventno = sv_event; in ed_prev_history()
607 if (el->el_history.eventno < 0) { in ed_next_history()
608 el->el_history.eventno = 0; in ed_next_history()
634 if (el->el_history.eventno < 0) { in ed_search_prev_history()
639 el->el_history.eventno = 0; in ed_search_prev_history()
642 if (el->el_history.eventno == 0) { in ed_search_prev_history()
657 for (h = 1; h <= el->el_history.eventno; h++) in ed_search_prev_history()
681 el->el_history.eventno = h; in ed_search_prev_history()
703 if (el->el_history.eventno == 0) in ed_search_next_history()
[all …]
Dsearch.c192 el->el_history.eventno); in c_setpat()
217 int ohisteventno = el->el_history.eventno; in ce_inc_search()
361 el->el_history.eventno = in ce_inc_search()
411 if (el->el_history.eventno != in ce_inc_search()
413 el->el_history.eventno = in ce_inc_search()
438 if (el->el_history.eventno != ohisteventno) { in ce_inc_search()
439 el->el_history.eventno = ohisteventno; in ce_inc_search()
Dhist.c107 if (el->el_history.eventno == 0) { /* if really the current line */ in hist_get()
130 for (h = 1; h < el->el_history.eventno; h++) in hist_get()
157 el->el_history.eventno = h; in hist_get()
Dvi.c958 int sv_event_no = el->el_history.eventno; in vi_to_history_line()
962 if (el->el_history.eventno == 0) { in vi_to_history_line()
971 el->el_history.eventno = 0x7fffffff; in vi_to_history_line()
979 el->el_history.eventno = 1; in vi_to_history_line()
982 el->el_history.eventno = 1 + el->el_history.ev.num in vi_to_history_line()
984 if (el->el_history.eventno < 0) { in vi_to_history_line()
985 el->el_history.eventno = sv_event_no; in vi_to_history_line()
991 el->el_history.eventno = sv_event_no; in vi_to_history_line()
Dhist.h49 int eventno; /* Event we are looking for */ member
Dchared.c477 el->el_history.eventno = 0; in ch_reset()