Home
last modified time | relevance | path

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

/vim-8.2.3635/src/testdir/
H A Dtest_recover.vim51 let linecount = 10000
52 while i <= linecount
67 call assert_equal(linecount, linedollar)
68 if linedollar < linecount
69 let linecount = linedollar
72 while i <= linecount
H A Dtest_channel.vim1754 let g:linecount = line('$')
1759 call WaitForAssert({-> assert_inrange(g:linecount, g:linecount + 1, line('$'))})
1833 let g:linecount = 0
1835 call job_start([s:python, '-c', arg], {'callback': {-> execute('let g:linecount += 1')}})
1836 call WaitForAssert({-> assert_equal(3, g:linecount)})
1837 unlet g:linecount
1857 let g:linecount = 0
1859 call job_start([s:python, '-c', arg], {'callback': {-> execute('let g:linecount += 1')}})
1860 call WaitForAssert({-> assert_equal(1, g:linecount)})
1862 unlet g:linecount
H A Dtest_bufwintabinfo.vim170 call assert_equal(3, getbufinfo(bn)[0]["linecount"])
/vim-8.2.3635/runtime/ftplugin/
H A Dmarkdown.vim63 let linecount = '['.foldsize.' lines]'
64 return hash_indent.' '.title.' '.linecount
/vim-8.2.3635/src/
H A Dex_cmds.c1064 linenr_T linecount; in do_filter() local
1085 linecount = line2 - line1 + 1; in do_filter()
1254 if (read_linecount >= linecount) in do_filter()
1256 mark_adjust(line1, line2, linecount, 0L); in do_filter()
1264 linecount - read_linecount, 0L); in do_filter()
1265 mark_adjust(line1, line2, linecount, 0L); in do_filter()
1272 linecount, 0L); in do_filter()
1282 del_lines(linecount, TRUE); in do_filter()
1303 if (linecount > p_report) in do_filter()
1308 _("%ld lines filtered"), (long)linecount); in do_filter()
[all …]
H A Dviminfo.c1732 int linecount; in handle_viminfo_register() local
1757 linecount = vp[3].bv_nr; in handle_viminfo_register()
1758 if (values->ga_len < 6 + linecount) in handle_viminfo_register()
1791 y_ptr->y_size = linecount; in handle_viminfo_register()
1793 if (linecount == 0) in handle_viminfo_register()
1798 y_ptr->y_array = ALLOC_MULT(char_u *, linecount); in handle_viminfo_register()
1804 for (i = 0; i < linecount; i++) in handle_viminfo_register()
H A Dfold.c2417 linenr_T linecount = flp->wp->w_buffer->b_ml.ml_line_count - flp->off; in foldUpdateIEMSRecurse() local
2508 || flp->lnum == linecount)) in foldUpdateIEMSRecurse()
2688 if (lvl < level || flp->lnum > linecount) in foldUpdateIEMSRecurse()
2743 if (++flp->lnum > linecount) in foldUpdateIEMSRecurse()
2751 if (flp->lnum > linecount) in foldUpdateIEMSRecurse()
2777 else if (fp->fd_top + fp->fd_len > linecount) in foldUpdateIEMSRecurse()
2779 fp->fd_len = linecount - fp->fd_top + 1; in foldUpdateIEMSRecurse()
H A Dtesting.c450 long linecount = 1; in assert_equalfile() local
476 count, linecount); in assert_equalfile()
483 ++linecount; in assert_equalfile()
H A Dpopupwin.c3998 linenr_T linecount = wp->w_buffer->b_ml.ml_line_count; in update_popups() local
4001 sb_thumb_height = (height * height + linecount / 2) / linecount; in update_popups()
4006 if (linecount <= wp->w_height) in update_popups()
4011 + (linecount / wp->w_height) / 2) in update_popups()
4013 / (linecount - wp->w_height); in update_popups()
/vim-8.2.3635/runtime/doc/
H A Deval.txt5365 linecount Number of lines in the buffer (only
H A Dversion8.txt41267 Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto,