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

Function vi_repeat_prev_char

extern/editline/src/vi.c:784–795  ·  view source on GitHub ↗

vi_repeat_prev_char(): * Vi repeat current character search in the opposite search direction * [,] */

Source from the content-addressed store, hash-verified

782 * [,]
783 */
784protected el_action_t
785/*ARGSUSED*/
786vi_repeat_prev_char(EditLine *el, Int c __attribute__((__unused__)))
787{
788 el_action_t r;
789 int dir = el->el_search.chadir;
790
791 r = cv_csearch(el, -dir, el->el_search.chacha,
792 el->el_state.argument, el->el_search.chatflg);
793 el->el_search.chadir = dir;
794 return r;
795}
796
797
798/* vi_match():

Callers

nothing calls this directly

Calls 1

cv_csearchFunction · 0.85

Tested by

no test coverage detected