Mercurial > vim
comparison src/proto/search.pro @ 19475:5512aa74cb62 v8.2.0295
patch 8.2.0295: highlighting for :s wrong when using different separator
Commit: https://github.com/vim/vim/commit/c036e87bd7001238ab7cc5d9e30e59bbf989a5fd
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 21 21:30:52 2020 +0100
patch 8.2.0295: highlighting for :s wrong when using different separator
Problem: Highlighting for :s wrong when using different separator.
Solution: Use separat argument for search direction and separator. (Rob
Pilling, closes #5665)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 21 Feb 2020 21:45:04 +0100 |
parents | 6c944fee0d7e |
children | 6ca6a372fef6 |
comparison
equal
deleted
inserted
replaced
19474:3e0b71dd3dc5 | 19475:5512aa74cb62 |
---|---|
22 void reset_search_dir(void); | 22 void reset_search_dir(void); |
23 void set_last_search_pat(char_u *s, int idx, int magic, int setlast); | 23 void set_last_search_pat(char_u *s, int idx, int magic, int setlast); |
24 void last_pat_prog(regmmatch_T *regmatch); | 24 void last_pat_prog(regmmatch_T *regmatch); |
25 int searchit(win_T *win, buf_T *buf, pos_T *pos, pos_T *end_pos, int dir, char_u *pat, long count, int options, int pat_use, searchit_arg_T *extra_arg); | 25 int searchit(win_T *win, buf_T *buf, pos_T *pos, pos_T *end_pos, int dir, char_u *pat, long count, int options, int pat_use, searchit_arg_T *extra_arg); |
26 void set_search_direction(int cdir); | 26 void set_search_direction(int cdir); |
27 int do_search(oparg_T *oap, int dirc, char_u *pat, long count, int options, searchit_arg_T *sia); | 27 int do_search(oparg_T *oap, int dirc, int search_delim, char_u *pat, long count, int options, searchit_arg_T *sia); |
28 int search_for_exact_line(buf_T *buf, pos_T *pos, int dir, char_u *pat); | 28 int search_for_exact_line(buf_T *buf, pos_T *pos, int dir, char_u *pat); |
29 int searchc(cmdarg_T *cap, int t_cmd); | 29 int searchc(cmdarg_T *cap, int t_cmd); |
30 pos_T *findmatch(oparg_T *oap, int initc); | 30 pos_T *findmatch(oparg_T *oap, int initc); |
31 pos_T *findmatchlimit(oparg_T *oap, int initc, int flags, int maxtravel); | 31 pos_T *findmatchlimit(oparg_T *oap, int initc, int flags, int maxtravel); |
32 void showmatch(int c); | 32 void showmatch(int c); |