Home
last modified time | relevance | path

Searched refs:el_state (Results 1 – 8 of 8) sorted by relevance

/external/libedit/src/
Dcommon.c71 int count = el->el_state.argument; in ed_insert()
76 if (el->el_line.lastchar + el->el_state.argument >= in ed_insert()
84 if (el->el_state.inputmode == MODE_INSERT in ed_insert()
91 if (el->el_state.inputmode != MODE_REPLACE_1) in ed_insert()
92 c_insert(el, el->el_state.argument); in ed_insert()
99 if (el->el_state.inputmode == MODE_REPLACE_1) in ed_insert()
120 el->el_state.argument, ce__isword); in ed_delete_prev_word()
171 c_delafter(el, el->el_state.argument); /* delete after dot */ in ed_delete_next_char()
290 el->el_line.cursor += el->el_state.argument; in ed_next_char()
317 el->el_state.argument, in ed_prev_word()
[all …]
Demacs.c73 if (el->el_state.doingarg) in em_delete_or_list()
74 c_delafter(el, el->el_state.argument); in em_delete_or_list()
99 el->el_state.argument, ce__isword); in em_delete_next_word()
143 if (el->el_state.argument == 1) in em_yank()
267 el->el_state.argument, in em_next_word()
290 el->el_state.argument, ce__isword); in em_upper_case()
314 el->el_state.argument, ce__isword); in em_capitol_case()
346 el->el_state.argument, ce__isword); in em_lower_case()
399 if (el->el_state.argument > 1000000) in em_universal_argument()
401 el->el_state.doingarg = 1; in em_universal_argument()
[all …]
Dvi.c159 el->el_state.argument, in vi_prev_big_word()
184 el->el_state.argument, in vi_prev_word()
208 el->el_line.lastchar, el->el_state.argument, cv__isWord); in vi_next_big_word()
232 el->el_line.lastchar, el->el_state.argument, cv__isword); in vi_next_word()
255 for (i = 0; i < el->el_state.argument; i++) { in vi_change_case()
320 el->el_state.inputmode = MODE_REPLACE_1; in vi_replace_char()
336 el->el_state.inputmode = MODE_REPLACE; in vi_replace_mode()
351 c_delafter(el, el->el_state.argument); in vi_substitute_char()
475 el->el_line.lastchar, el->el_state.argument, cv__isWord); in vi_end_big_word()
499 el->el_line.lastchar, el->el_state.argument, cv__isword); in vi_end_word()
[all …]
Dchared.c72 r->count = el->el_state.doingarg ? el->el_state.argument : 0; in cv_undo()
75 r->cmd = el->el_state.thiscmd; in cv_undo()
76 r->ch = el->el_state.thisch; in cv_undo()
440 el->el_state.inputmode = MODE_INSERT; /* XXX: save a default */ in ch_init()
441 el->el_state.doingarg = 0; in ch_init()
442 el->el_state.metanext = 0; in ch_init()
443 el->el_state.argument = 1; in ch_init()
444 el->el_state.lastcmd = ED_UNASSIGNED; in ch_init()
473 el->el_state.inputmode = MODE_INSERT; /* XXX: save a default */ in ch_reset()
474 el->el_state.doingarg = 0; in ch_reset()
[all …]
Dread.c254 el->el_state.metanext = 0; in read_getcmd()
260 if (el->el_state.metanext) { in read_getcmd()
261 el->el_state.metanext = 0; in read_getcmd()
623 el->el_state.thiscmd = cmdnum; in FUN()
624 el->el_state.thisch = ch; in FUN()
642 el->el_state.lastcmd = cmdnum; in FUN()
706 el->el_state.argument = 1; in FUN()
707 el->el_state.doingarg = 0; in FUN()
Dsearch.c177 if (el->el_state.lastcmd != ED_SEARCH_PREV_HISTORY && in c_setpat()
178 el->el_state.lastcmd != ED_SEARCH_NEXT_HISTORY) { in c_setpat()
389 el->el_state.lastcmd = in ce_inc_search()
510 el->el_state.lastcmd = (el_action_t) dir; /* avoid c_setpat */ in cv_search()
579 el->el_state.lastcmd = (el_action_t) c; /* Hack to stop c_setpat */ in cv_repeat_srch()
Del.h131 el_state_t el_state; /* Current editor state */ member
Dfilecomplete.c424 if (el->el_state.lastcmd == el->el_state.thiscmd) in fn_complete()