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

Function vi_substitute_char

extern/editline/src/vi.c:346–354  ·  view source on GitHub ↗

vi_substitute_char(): * Vi replace character under the cursor and enter insert mode * [s] */

Source from the content-addressed store, hash-verified

344 * [s]
345 */
346protected el_action_t
347/*ARGSUSED*/
348vi_substitute_char(EditLine *el, Int c __attribute__((__unused__)))
349{
350
351 c_delafter(el, el->el_state.argument);
352 el->el_map.current = el->el_map.key;
353 return CC_REFRESH;
354}
355
356
357/* vi_substitute_line():

Callers

nothing calls this directly

Calls 1

c_delafterFunction · 0.85

Tested by

no test coverage detected