diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-10-29 16:40:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-10-29 16:40:30 +0100 |
commit | 2e51d9a0972080b087d566608472928d5b7b35d7 (patch) | |
tree | d1c0c0b573d1db2480fa2994be456ec28c5432c3 /src/proto/search.pro | |
parent | af2d20c6285c1d2973e3d9b5e8f727e3ed180493 (diff) |
patch 8.0.1238: incremental search only shows one matchv8.0.1238
Problem: Incremental search only shows one match.
Solution: When 'incsearch' and and 'hlsearch' are both set highlight all
matches. (haya14busa, closes #2198)
Diffstat (limited to 'src/proto/search.pro')
-rw-r--r-- | src/proto/search.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/search.pro b/src/proto/search.pro index 63955adee0..41c200612f 100644 --- a/src/proto/search.pro +++ b/src/proto/search.pro @@ -5,6 +5,8 @@ char_u *reverse_text(char_u *s); void save_re_pat(int idx, char_u *pat, int magic); void save_search_patterns(void); void restore_search_patterns(void); +void save_last_search_pattern(void); +void restore_last_search_pattern(void); void free_search_patterns(void); int ignorecase(char_u *pat); int ignorecase_opt(char_u *pat, int ic_in, int scs); |