Home
last modified time | relevance | path

Searched refs:el_chared (Results 1 – 7 of 7) sorted by relevance

/external/libedit/src/
Dchared.c61 c_undo_t *vu = &el->el_chared.c_undo; in cv_undo()
62 c_redo_t *r = &el->el_chared.c_redo; in cv_undo()
73 r->action = el->el_chared.c_vcmd.action; in cv_undo()
85 c_kill_t *k = &el->el_chared.c_kill; in cv_yank()
290 if (n || el->el_chared.c_vcmd.action != (DELETE|INSERT)) in cv_next_word()
336 int action = el->el_chared.c_vcmd.action; in cv_delfini()
341 if (el->el_chared.c_vcmd.pos == 0) in cv_delfini()
345 size = (int)(el->el_line.cursor - el->el_chared.c_vcmd.pos); in cv_delfini()
348 el->el_line.cursor = el->el_chared.c_vcmd.pos; in cv_delfini()
363 el->el_chared.c_vcmd.action = NOP; in cv_delfini()
[all …]
Demacs.c101 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++) in em_delete_next_word()
104 el->el_chared.c_kill.last = kp; in em_delete_next_word()
124 if (el->el_chared.c_kill.last == el->el_chared.c_kill.buf) in em_yank()
128 (el->el_chared.c_kill.last - el->el_chared.c_kill.buf) >= in em_yank()
132 el->el_chared.c_kill.mark = el->el_line.cursor; in em_yank()
137 (int)(el->el_chared.c_kill.last - el->el_chared.c_kill.buf)); in em_yank()
139 for (kp = el->el_chared.c_kill.buf; kp < el->el_chared.c_kill.last; kp++) in em_yank()
161 kp = el->el_chared.c_kill.buf; in em_kill_line()
164 el->el_chared.c_kill.last = kp; in em_kill_line()
182 if (!el->el_chared.c_kill.mark) in em_kill_region()
[all …]
Dvi.c64 if (el->el_chared.c_vcmd.action != NOP) { in cv_action()
66 if (c != (Int)el->el_chared.c_vcmd.action) in cv_action()
73 el->el_chared.c_vcmd.action = NOP; in cv_action()
74 el->el_chared.c_vcmd.pos = 0; in cv_action()
84 el->el_chared.c_vcmd.pos = el->el_line.cursor; in cv_action()
85 el->el_chared.c_vcmd.action = c; in cv_action()
95 c_kill_t *k = &el->el_chared.c_kill; in cv_paste()
162 if (el->el_chared.c_vcmd.action != NOP) { in vi_prev_big_word()
187 if (el->el_chared.c_vcmd.action != NOP) { in vi_prev_word()
211 if (el->el_chared.c_vcmd.action != NOP) { in vi_next_big_word()
[all …]
Dcommon.c122 for (p = cp, kp = el->el_chared.c_kill.buf; p < el->el_line.cursor; p++) in ed_delete_prev_word()
124 el->el_chared.c_kill.last = kp; in ed_delete_prev_word()
192 kp = el->el_chared.c_kill.buf; in ed_kill_line()
195 el->el_chared.c_kill.last = kp; in ed_kill_line()
213 if (el->el_chared.c_vcmd.action != NOP) { in ed_move_to_end()
240 if (el->el_chared.c_vcmd.action != NOP) { in ed_move_to_beg()
287 el->el_chared.c_vcmd.action == NOP)) in ed_next_char()
295 if (el->el_chared.c_vcmd.action != NOP) { in ed_next_char()
321 if (el->el_chared.c_vcmd.action != NOP) { in ed_prev_word()
344 if (el->el_chared.c_vcmd.action != NOP) { in ed_prev_char()
[all …]
Dread.c222 c_macro_t *ma = &el->el_chared.c_macro; in FUN()
403 c_macro_t *ma = &el->el_chared.c_macro; in FUN()
492 c_macro_t *ma = &el->el_chared.c_macro; in FUN()
627 el->el_chared.c_redo.pos < el->el_chared.c_redo.lim) { in FUN()
629 el->el_chared.c_redo.pos != el->el_chared.c_redo.buf in FUN()
630 && Isprint(el->el_chared.c_redo.pos[-1])) in FUN()
631 el->el_chared.c_redo.pos--; in FUN()
633 *el->el_chared.c_redo.pos++ = ch; in FUN()
708 el->el_chared.c_vcmd.action = NOP; in FUN()
Del.h137 el_chared_t el_chared; /* Characted editor stuff */ member
Dsearch.c635 if (el->el_chared.c_vcmd.action != NOP) { in cv_csearch()