diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-06-17 17:48:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-06-17 17:48:32 +0200 |
commit | b3414595c713ca161f082776f89417faddec7d2d (patch) | |
tree | 5f03f600e04a2455ce84033c49db30b680d571c6 /src/proto | |
parent | ec1561cac59006213dd5405d164a94dc7d002806 (diff) | |
download | vim-git-b3414595c713ca161f082776f89417faddec7d2d.tar.gz |
updated for version 7.4.330v7.4.330
Problem: Using a regexp pattern to highlight a specific position can be
slow.
Solution: Add matchaddpos() to highlight specific positions efficiently.
(Alexey Radkov)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/window.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/window.pro b/src/proto/window.pro index cecc66852..2d33c1757 100644 --- a/src/proto/window.pro +++ b/src/proto/window.pro @@ -75,7 +75,7 @@ void restore_win __ARGS((win_T *save_curwin, tabpage_T *save_curtab, int no_disp void switch_buffer __ARGS((buf_T **save_curbuf, buf_T *buf)); void restore_buffer __ARGS((buf_T *save_curbuf)); int win_hasvertsplit __ARGS((void)); -int match_add __ARGS((win_T *wp, char_u *grp, char_u *pat, int prio, int id)); +int match_add __ARGS((win_T *wp, char_u *grp, char_u *pat, int prio, int id, list_T *pos)); int match_delete __ARGS((win_T *wp, int id, int perr)); void clear_matches __ARGS((win_T *wp)); matchitem_T *get_match __ARGS((win_T *wp, int id)); |