forked from aniani/vim
patch 9.0.1092: search error message doesn't show used pattern
Problem: Search error message doesn't show used pattern.
Solution: Pass the actually used pattern to where the error message is
given. (Rob Pilling, closes #11742)
This commit is contained in:
committed by
Bram Moolenaar
parent
f54cedd676
commit
e86190e7c1
@@ -1,5 +1,5 @@
|
||||
/* search.c */
|
||||
int search_regcomp(char_u *pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch);
|
||||
int search_regcomp(char_u *pat, char_u **used_pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch);
|
||||
char_u *get_search_pat(void);
|
||||
char_u *reverse_text(char_u *s);
|
||||
void save_re_pat(int idx, char_u *pat, int magic);
|
||||
|
||||
Reference in New Issue
Block a user