Mercurial > vim
annotate src/proto/match.pro @ 27557:ce72087b601f v8.2.4305
patch 8.2.4305: tex filetype detection fails
Commit: https://github.com/vim/vim/commit/e5b7897585eccec84431d8b23df5cde2e283828c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 5 19:50:34 2022 +0000
patch 8.2.4305: tex filetype detection fails
Problem: Tex filetype detection fails.
Solution: Check value to be positive. (closes https://github.com/vim/vim/issues/9704)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Feb 2022 21:00:03 +0100 |
parents | baec4e1cee43 |
children |
rev | line source |
---|---|
21054
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* match.c */ |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 void clear_matches(win_T *wp); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 void init_search_hl(win_T *wp, match_T *search_hl); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 void prepare_search_hl(win_T *wp, match_T *search_hl, linenr_T lnum); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 int prepare_search_hl_line(win_T *wp, linenr_T lnum, colnr_T mincol, char_u **line, match_T *search_hl, int *search_attr); |
26334
baec4e1cee43
patch 8.2.3698: match highlighting continues over breakindent
Bram Moolenaar <Bram@vim.org>
parents:
21054
diff
changeset
|
6 int update_search_hl(win_T *wp, linenr_T lnum, colnr_T col, char_u **line, match_T *search_hl, int *has_match_conc, int *match_conc, int did_line_attr, int lcs_eol_one, int *on_last_col); |
21054
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 int get_prevcol_hl_flag(win_T *wp, match_T *search_hl, long curcol); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 void get_search_match_hl(win_T *wp, match_T *search_hl, long col, int *char_attr); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 void f_clearmatches(typval_T *argvars, typval_T *rettv); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 void f_getmatches(typval_T *argvars, typval_T *rettv); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 void f_setmatches(typval_T *argvars, typval_T *rettv); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 void f_matchadd(typval_T *argvars, typval_T *rettv); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 void f_matchaddpos(typval_T *argvars, typval_T *rettv); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 void f_matcharg(typval_T *argvars, typval_T *rettv); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 void f_matchdelete(typval_T *argvars, typval_T *rettv); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 void ex_match(exarg_T *eap); |
b1fac55cf8a3
patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
17 /* vim: set ft=c : */ |