Mercurial > vim
comparison src/proto/search.pro @ 20647:8a2b86a39ef4 v8.2.0877
patch 8.2.0877: cannot get the search statistics
Commit: https://github.com/vim/vim/commit/e8f5ec0d30b629d7166f0ad03434065d8bc822df
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 1 17:28:35 2020 +0200
patch 8.2.0877: cannot get the search statistics
Problem: Cannot get the search statistics.
Solution: Add the searchcount() function. (Fujiwara Takuya, closes https://github.com/vim/vim/issues/4446)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 01 Jun 2020 17:30:04 +0200 |
parents | 6ca6a372fef6 |
children | f22acf6472da |
comparison
equal
deleted
inserted
replaced
20646:ad14bd3f8c4f | 20647:8a2b86a39ef4 |
---|---|
33 int current_search(long count, int forward); | 33 int current_search(long count, int forward); |
34 int linewhite(linenr_T lnum); | 34 int linewhite(linenr_T lnum); |
35 void find_pattern_in_path(char_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum); | 35 void find_pattern_in_path(char_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum); |
36 spat_T *get_spat(int idx); | 36 spat_T *get_spat(int idx); |
37 int get_spat_last_idx(void); | 37 int get_spat_last_idx(void); |
38 void f_searchcount(typval_T *argvars, typval_T *rettv); | |
38 /* vim: set ft=c : */ | 39 /* vim: set ft=c : */ |