Home
last modified time | relevance | path

Searched refs:maxcount (Results 1 – 11 of 11) sorted by relevance

/vim-8.2.3635/src/testdir/
H A Dtest_search_stat.vim19 \ #{current: 1, exact_match: 1, total: 40, incomplete: 0, maxcount: 99},
22 \ #{current: 0, exact_match: 0, total: 10, incomplete: 0, maxcount: 99},
25 \ #{current: 0, exact_match: 0, total: 10, incomplete: 0, maxcount: 99},
28 \ #{current: 1, exact_match: 1, total: 10, incomplete: 0, maxcount: 99},
42 \ #{current: 1, exact_match: 0, total: 2, incomplete: 2, maxcount: 1},
43 \ searchcount(#{pattern: 'fooooobar', pos: [4, 1, 0], maxcount: 1}))
45 \ #{current: 0, exact_match: 0, total: 2, incomplete: 2, maxcount: 1},
46 \ searchcount(#{pattern: 'fooooobar', maxcount: 1}))
97 \ searchcount(#{recompute: v:true, maxcount: 0, timeout: 200}))
110 \ searchcount(#{recompute: 1, maxcount: 0, timeout: 200}))
[all …]
H A Dtest_vim9_builtin.vim2934 maxcount: 99,
/vim-8.2.3635/src/
H A Dsearch.c3128 int maxcount, in cmdline_search_stat() argument
3145 else if (stat.cnt > maxcount && stat.cur > maxcount) in cmdline_search_stat()
3147 maxcount, maxcount); in cmdline_search_stat()
3150 maxcount, stat.cur); in cmdline_search_stat()
3160 else if (stat.cnt > maxcount && stat.cur > maxcount) in cmdline_search_stat()
3162 maxcount, maxcount); in cmdline_search_stat()
3165 stat.cur, maxcount); in cmdline_search_stat()
3206 int maxcount, in update_search_stat() argument
3236 last_maxcount = maxcount; in update_search_stat()
3250 || (maxcount > 0 && cur > maxcount) || recompute) in update_search_stat()
[all …]
H A Dregexp_bt.c2762 while (count < maxcount) in regrepeat()
2766 while (*scan != NUL && count < maxcount) in regrepeat()
2772 || rex.reg_line_lbr || count == maxcount) in regrepeat()
2788 while (count < maxcount) in regrepeat()
2818 while (count < maxcount) in regrepeat()
2849 while (count < maxcount) in regrepeat()
2879 while (count < maxcount) in regrepeat()
2908 while (count < maxcount) in regrepeat()
3027 while (count < maxcount && *scan == cu) in regrepeat()
3068 while (count < maxcount) in regrepeat()
[all …]
H A Dwindow.c1557 int maxcount; in make_windows() local
1564 maxcount = (curwin->w_width + curwin->w_vsep_width in make_windows()
1570 maxcount = (VISIBLE_HEIGHT(curwin) + curwin->w_status_height in make_windows()
1574 if (maxcount < 2) in make_windows()
1575 maxcount = 2; in make_windows()
1576 if (count > maxcount) in make_windows()
1577 count = maxcount; in make_windows()
4025 make_tabpages(int maxcount) in make_tabpages() argument
4027 int count = maxcount; in make_tabpages()
H A Ddiff.c1869 int maxcount; in diff_check() local
1947 maxcount = 0; in diff_check()
1949 if (curtab->tp_diffbuf[i] != NULL && dp->df_count[i] > maxcount) in diff_check()
1950 maxcount = dp->df_count[i]; in diff_check()
1951 return maxcount - dp->df_count[idx]; in diff_check()
H A Dspellsuggest.c200 static void spell_find_suggest(char_u *badptr, int badlen, suginfo_T *su, int maxcount, int banbadw…
711 int maxcount, // maximum nr of suggestions in spell_suggest_list() argument
720 spell_find_suggest(word, 0, &sug, maxcount, FALSE, need_cap, interactive); in spell_suggest_list()
757 int maxcount, in spell_find_suggest() argument
788 su->su_maxcount = maxcount; in spell_find_suggest()
H A Devalfunc.c9343 int maxcount; in f_spellsuggest() local
9385 maxcount = (int)tv_get_number_chk(&argvars[1], &typeerr); in f_spellsuggest()
9386 if (maxcount <= 0) in f_spellsuggest()
9396 maxcount = 25; in f_spellsuggest()
9398 spell_suggest_list(&ga, str, maxcount, need_capital, FALSE); in f_spellsuggest()
/vim-8.2.3635/src/proto/
H A Dspellsuggest.pro4 void spell_suggest_list(garray_T *gap, char_u *word, int maxcount, int need_cap, int interactive);
H A Dwindow.pro29 int make_tabpages(int maxcount);
/vim-8.2.3635/runtime/doc/
H A Deval.txt9490 " result == maxcount + 1 (100) when many matches
9506 if result.total > result.maxcount &&
9507 \ result.current > result.maxcount
9510 elseif result.total > result.maxcount
9534 \ recompute: 1, maxcount: 0, timeout: 100})
9571 maxcount |Number| 0 or negative number is no
9576 becomes `maxcount + 1`