MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / vi_replace_mode

Function vi_replace_mode

extern/editline/src/vi.c:330–339  ·  view source on GitHub ↗

vi_replace_mode(): * Vi enter replace mode * [R] */

Source from the content-addressed store, hash-verified

328 * [R]
329 */
330protected el_action_t
331/*ARGSUSED*/
332vi_replace_mode(EditLine *el, Int c __attribute__((__unused__)))
333{
334
335 el->el_map.current = el->el_map.key;
336 el->el_state.inputmode = MODE_REPLACE;
337 cv_undo(el);
338 return CC_NORM;
339}
340
341
342/* vi_substitute_char():

Callers

nothing calls this directly

Calls 1

cv_undoFunction · 0.85

Tested by

no test coverage detected