diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-08-11 14:26:19 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-08-11 14:26:19 +0200 |
commit | dbd24b59678dd976b2ad356451e248a6e8b8bd8b (patch) | |
tree | 0ecfb9bb16fceefa3d1d101a8bb9cfe9db2e55f2 /src/proto | |
parent | fbd302ff38624abdec64980f4a19379d20a6e6c6 (diff) | |
download | vim-dbd24b59678dd976b2ad356451e248a6e8b8bd8b.zip |
patch 7.4.813
Problem: It is not possible to save and restore character search state.
Solution: Add getcharsearch() and setcharsearch(). (James McCoy)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/search.pro | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/proto/search.pro b/src/proto/search.pro index 07f608789..27d2016ae 100644 --- a/src/proto/search.pro +++ b/src/proto/search.pro @@ -8,6 +8,12 @@ void restore_search_patterns __ARGS((void)); void free_search_patterns __ARGS((void)); int ignorecase __ARGS((char_u *pat)); int pat_has_uppercase __ARGS((char_u *pat)); +char_u *last_csearch __ARGS((void)); +int last_csearch_forward __ARGS((void)); +int last_csearch_until __ARGS((void)); +void set_last_csearch __ARGS((int c, char_u *s, int len)); +void set_csearch_direction __ARGS((int cdir)); +void set_csearch_until __ARGS((int t_cmd)); char_u *last_search_pat __ARGS((void)); void reset_search_dir __ARGS((void)); void set_last_search_pat __ARGS((char_u *s, int idx, int magic, int setlast)); |