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

Function ed_newline

extern/editline/src/common.c:546–555  ·  view source on GitHub ↗

ed_newline(): * Execute command * [^J] */

Source from the content-addressed store, hash-verified

544 * [^J]
545 */
546protected el_action_t
547/*ARGSUSED*/
548ed_newline(EditLine *el, Int c __attribute__((__unused__)))
549{
550
551 re_goto_bottom(el);
552 *el->el_line.lastchar++ = '\n';
553 *el->el_line.lastchar = '\0';
554 return CC_NEWLINE;
555}
556
557
558/* ed_delete_prev_char():

Callers 3

vi_comment_outFunction · 0.85
vi_histeditFunction · 0.85
cv_searchFunction · 0.85

Calls 1

re_goto_bottomFunction · 0.85

Tested by

no test coverage detected