Home
last modified time | relevance | path

Searched refs:firstline (Results 1 – 25 of 26) sorted by relevance

12

/vim-8.2.3635/src/testdir/
H A Dtest_popupwin.vim149 \ firstline: 1,
202 \ firstline: 1,
438 \ firstline: 3,
457 \ firstline: 3,
460 call popup_setoptions(winid, #{firstline: 1})
466 \ firstline: 11,
486 " Remove "firstline" property and scroll
522 \ firstline: 3,
536 \ firstline: 11,
2235 \ firstline: 1,
[all …]
H A Dtest24.in4 :/firstline/+1,/lastline/-1w! Xtestfile
11 firstline
H A Dtest_user_func.vim487 echo a:firstline
494 \ .. "\n1 echo a:firstline"
H A Dtest_vim9_func.vim1377 def WithReservedNames(firstline: string, lastline: string): string
1378 return firstline .. lastline
H A Dtest_search.vim1920 " default, matches firstline
/vim-8.2.3635/src/
H A Dscriptfile.c1112 char_u *firstline = NULL; in do_source() local
1389 firstline = getsourceline(0, (void *)&cookie, 0, TRUE); in do_source()
1390 if (firstline != NULL && STRLEN(firstline) >= 3 && firstline[0] == 0xef in do_source()
1391 && firstline[1] == 0xbb && firstline[2] == 0xbf) in do_source()
1395 p = string_convert(&cookie.conv, firstline + 3, NULL); in do_source()
1397 p = vim_strsave(firstline + 3); in do_source()
1400 vim_free(firstline); in do_source()
1401 firstline = p; in do_source()
1406 do_cmdline(firstline, getsourceline, (void *)&cookie, in do_source()
1505 vim_free(firstline); in do_source()
H A Dops.c1458 char_u *firstline, *ins_text; in op_insert() local
1504 firstline += bd.textlen; in op_insert()
1505 pre_textlen = (long)STRLEN(firstline); in op_insert()
1637 firstline = ml_get(oap->start.lnum); in op_insert()
1638 len = STRLEN(firstline); in op_insert()
1660 firstline += add; in op_insert()
1696 char_u *firstline; in op_change() local
1736 firstline = ml_get(oap->start.lnum); in op_change()
1737 pre_textlen = (long)STRLEN(firstline); in op_change()
1738 pre_indent = (long)getwhitecols(firstline); in op_change()
[all …]
H A Dhelp.c973 int firstline; in helptags_one() local
1037 firstline = TRUE; in helptags_one()
1040 if (firstline) in helptags_one()
1069 firstline = FALSE; in helptags_one()
H A Dfileio.c807 char_u firstline[80]; in readfile() local
825 len = read_eintr(fd, firstline, 80); in readfile()
827 for (p = firstline; p < firstline + len; ++p) in readfile()
H A Deval.c647 funcexe.firstline = curwin->w_cursor.lnum; in call_vim_function()
2011 funcexe.firstline = curwin->w_cursor.lnum; in eval_func()
3806 funcexe.firstline = curwin->w_cursor.lnum; in call_func_rettv()
H A Duserfunc.c2573 (varnumber_T)funcexe->firstline); in call_user_func()
3124 funcexe.firstline = curwin->w_cursor.lnum; in func_call()
5022 funcexe.firstline = eap->line1; in ex_call()
H A Dstructs.h1993 linenr_T firstline; // first line of range member
H A Dterminal.c4296 funcexe.firstline = 1L; in handle_call_command()
/vim-8.2.3635/runtime/ftplugin/
H A Dabaqus.vim76 if strpart(getline(a:firstline), 0, 2) == "**"
78 silent execute a:firstline . ',' . a:lastline . 's/^\*\*//'
81 silent execute a:firstline . ',' . a:lastline . 's/^/**/'
/vim-8.2.3635/runtime/indent/
H A Djavascript.vim195 return eval("[call(a:f,a:000),cursor(a:firstline,".col('.').")][0]")
297 " encloses the entire context, 'cont' if whether a:firstline is a continued
306 elseif !a:cont || b_l || ind < indent(a:firstline)
338 \ ,tok) < (line('.') != a:firstline) || s:Pure('s:PreviousToken') == '.'
348 return tok !~ '[-+]' || line('.') != a:firstline && getline('.')[col('.')-2] == tok
/vim-8.2.3635/runtime/syntax/
H A D2html.vim659 if a:f1.firstline != a:f2.firstline
661 return a:f1.firstline - a:f2.firstline
1290 if afold.firstline < g:html_start_line
1295 let afold.firstline = g:html_start_line
1305 elseif afold.firstline > g:html_end_line
1311 if afold.firstline < g:html_start_line
1314 let afold.firstline = g:html_start_line
1320 if afold.firstline > g:html_end_line
1509 …\ 'toggle-open FoldColumn'. (get(s:allfolds, 1, {'firstline': 0}).firstline == s:lnum ?" toggle-fi…
1515 if get(s:allfolds, 1, {'firstline': 0}).firstline != s:lnum
[all …]
/vim-8.2.3635/runtime/autoload/dist/
H A Dft.vim690 let firstline = getline(1)
691 if firstline =~ '^%&\s*\a\+'
692 let format = tolower(matchstr(firstline, '\a\+'))
728 endif " firstline =~ '^%&\s*\a\+'
/vim-8.2.3635/runtime/doc/
H A Dpopup.txt369 "firstline" is the property set on the popup, unlike the
370 "firstline" obtained with |popup_getpos()| which is the actual
404 firstline line of the buffer at top (1 unless scrolled)
405 (not the value of the "firstline" property)
538 firstline
660 firstline First buffer line to display. When larger than one it
H A Dif_lua.txt115 input range are stored in "vim.firstline" and "vim.lastline" respectively. The
445 :3,4lua for i=vim.lastline,vim.firstline,-1 do b[i] = nil end
H A Dusr_41.txt1324 The function will be passed the variables "a:firstline" and "a:lastline".
1329 : let lnum = a:firstline
H A Deval.txt3667 a:firstline and a:lastline are set to the cursor line.
12635 *:func-range* *a:firstline* *a:lastline*
12638 passed as "a:firstline" and "a:lastline". If [range]
12851 The "a:firstline" and "a:lastline" are defined anyway, they
12858 : execute (a:firstline + 1) . "," . a:lastline . 's/^/\t\\ '
H A Dtags5377 a:firstline eval.txt /*a:firstline*
H A Dversion6.txt8287 Problem: It's possible to use an argument "firstline" or "lastline" for a
8288 function but using "a:firstline" or "a:lastline" in the function
/vim-8.2.3635/runtime/pack/dist/opt/justify/plugin/
H A Djustify.vim234 let cur = a:firstline
/vim-8.2.3635/runtime/autoload/
H A Dnetrw.vim2479 …exe "sil NetrwKeepj ".a:firstline."," . a:lastline . "w! ".fnameescape(v:cmdarg)." ".fnameescape(c…
2482 " call Decho("(write selected portion) sil exe ".a:firstline."," . a:lastline . "w! ".fnameescape…
2483 …exe "sil NetrwKeepj ".a:firstline."," . a:lastline . "w! ".fnameescape(v:cmdarg)." ".fnameescape(t…
2805 if a:firstline == 1 && a:lastline == line("$")
10476 " call Decho("firstline=".a:firstline." lastline=".a:lastline,'~'.expand("<slnum>"))
10501 let ctr = a:firstline
10654 let ctr = a:firstline
11175 let ctr = a:firstline
11272 " call Decho("firstline=".a:firstline." lastline=".a:lastline,'~'.expand("<slnum>"))
11296 " call Decho("remove files in range [".a:firstline.",".a:lastline."]",'~'.expand("<slnum>"))
[all …]

12