vi_repeat_prev_char(): * Vi repeat current character search in the opposite search direction * [,] */
| 782 | * [,] |
| 783 | */ |
| 784 | protected el_action_t |
| 785 | /*ARGSUSED*/ |
| 786 | vi_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(): |
nothing calls this directly
no test coverage detected