| /vim-8.2.3635/src/ |
| H A D | move.c | 2168 linenr_T topline; in scroll_cursor_halfway() local 2195 topline = loff.lnum; in scroll_cursor_halfway() 2196 while (topline > 1) in scroll_cursor_halfway() 2226 topline = loff.lnum; in scroll_cursor_halfway() 2235 curwin->w_topline = topline; in scroll_cursor_halfway() 2256 linenr_T topline; in cursor_correct() local 2311 topline = curwin->w_topline; in cursor_correct() 2333 if (hasFolding(topline, NULL, &topline)) in cursor_correct() 2340 if (topline < botline) in cursor_correct() 2343 ++topline; in cursor_correct() [all …]
|
| H A D | ex_docmd.c | 7099 long topline; in ex_syncbind() local 7110 topline = curwin->w_topline; in ex_syncbind() 7116 if (topline > y) in ex_syncbind() 7117 topline = y; in ex_syncbind() 7120 if (topline < 1) in ex_syncbind() 7121 topline = 1; in ex_syncbind() 7125 topline = 1; in ex_syncbind() 7137 y = topline - curwin->w_topline; in ex_syncbind() 7142 curwin->w_scbind_pos = topline; in ex_syncbind()
|
| H A D | ex_cmds.c | 2512 linenr_T topline = 0; in do_ecmd() local 3019 topline = curwin->w_topline; in do_ecmd() 3079 if (curwin->w_topline == topline) in do_ecmd() 3080 topline = 0; in do_ecmd() 3187 if (topline == 0 && command == NULL) in do_ecmd()
|
| H A D | normal.c | 2136 long topline; in check_scrollbind() local 2172 topline = curwin->w_scbind_pos; in check_scrollbind() 2173 if (topline > curbuf->b_ml.ml_line_count) in check_scrollbind() 2174 topline = curbuf->b_ml.ml_line_count; in check_scrollbind() 2175 if (topline < 1) in check_scrollbind() 2176 topline = 1; in check_scrollbind() 2178 y = topline - curwin->w_topline; in check_scrollbind()
|
| /vim-8.2.3635/src/testdir/ |
| H A D | test_window_cmd.vim | 723 call assert_equal(lnum, wininfo[0].topline) 724 call assert_equal(lnum, wininfo[1].topline) 763 call assert_equal(info.topline + 1, getcurpos()[1]) 781 exe "normal " . (info.topline + 1) . "G" 790 call assert_equal(lnum, info.topline) 827 call assert_equal(info.topline + 1, getcurpos()[1]) 849 call assert_equal(1, info1.topline) 850 call assert_equal(1, info2.topline) 859 call assert_equal(1, info1.topline) 864 call assert_equal(1, info1.topline)
|
| H A D | test_termcodes.vim | 482 call assert_equal(10, winsaveview().topline, msg) 487 call assert_equal(10, winsaveview().topline, msg) 493 call assert_equal(10, winsaveview().topline, msg) 499 call assert_equal(11, winsaveview().topline, msg) 503 call assert_equal(13, winsaveview().topline, msg) 508 call assert_equal(14, winsaveview().topline, msg) 513 call assert_equal(14, winsaveview().topline, msg) 517 call assert_equal(14, winsaveview().topline, msg) 523 call assert_equal(13, winsaveview().topline, msg) 531 call assert_equal(8, winsaveview().topline, msg) [all …]
|
| H A D | test_normal.vim | 673 call assert_equal(100, winsaveview()['topline']) 680 call assert_equal(21, winsaveview()['topline']) 710 call assert_equal(17, winsaveview()['topline']) 718 call assert_equal(17, winsaveview()['topline']) 726 call assert_equal(21, winsaveview()['topline']) 733 call assert_equal(21, winsaveview()['topline']) 740 call assert_equal(100, winsaveview()['topline']) 746 call assert_equal(100, winsaveview()['topline']) 753 call assert_equal(12, winsaveview()['topline']) 759 call assert_equal(1, winsaveview()['topline']) [all …]
|
| H A D | test_autocmd.vim | 2157 " The topline may change one line in a large window. 2159 call assert_inrange(g:wsv2.topline - 1, g:wsv2.topline + 1, winsaveview().topline) 2163 call assert_equal(g:wsv1.topline, winsaveview().topline) 2175 call assert_equal(1, winsaveview().topline) 2179 call assert_equal(g:wsv1.topline, winsaveview().topline)
|
| H A D | test_matchadd_conceal.vim | 348 " not successful and no real topline change happens. The invalidation would
|
| H A D | test_options.vim | 1182 \ 'topline':3, 'coladd':0, 'skipcol':0, 'curswant':0}, 1189 \ 'topline':5, 'coladd':0, 'skipcol':0, 'curswant':0},
|
| H A D | test_search.vim | 254 …call assert_equal({'lnum': 10, 'leftcol': 0, 'col': 4, 'topfill': 0, 'topline': 6, 'coladd': 0, 's… 270 …"call assert_equal({'lnum': 1, 'leftcol': 0, 'col': 0, 'topfill': 0, 'topline': 1, 'coladd': 0, 's…
|
| H A D | test_edit.vim | 529 call assert_equal(30, winsaveview()['topline']) 533 call assert_equal(21, winsaveview()['topline'])
|
| H A D | test_popupwin.vim | 526 call assert_equal(3, getwininfo(winid)[0].topline)
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | if_tcl.txt | 375 set topline [$buf get top]
|
| H A D | version6.txt | 2198 because topline is different. Added set_mouse_topline(). 4353 Solution: Don't use 'scrolloff' when limiting the topline for scroll 4526 Solution: When redrawing the topline don't scroll twice. 5116 Solution: Restore the topline of the window. 6833 Solution: Correct the topline by putting it at the start of the fold. 10355 Solution: Update the topline before going to the next window.
|
| H A D | version5.txt | 4457 When BufLoad or BufEnter autocommands change the topline of the buffer in the 4459 the cursor halfway if the autocommands didn't change the topline. 5656 Solution: Save and restore the cursor and topline for the current window
|
| H A D | version8.txt | 2314 Solution: Change setting the topline. (Nobuhiro Takasaki) 2346 Problem: Fixes for computation of topline not tested. 3404 Problem: When winrestview() has a negative "topline" value there are 17766 Solution: Clear valid flags when setting the cursor. Set the topline when 17929 Solution: Handle a zero topline and botline. (closes #1613) 20271 Problem: When job in terminal window ends topline may be wrong. 20272 Solution: When the job ends adjust topline so that the active part of the 31973 Solution: Always set topline, also when window is one line only. 34189 Solution: Do restore fraction if topline is not one. 36870 Solution: Update topline. (partly by Christian Brabandt, closes #4718) [all …]
|
| H A D | todo.txt | 5751 of the window, restore the old topline (or relative position) from when 6093 - When doing CTRL-^, redraw buffer with the same topline. (Demirel) Store
|
| H A D | version7.txt | 3638 Solution: Set the window topline properly. 7661 Solution: Don't recompute topline when above 'scrolloff' from the bottom. 17945 Solution: Store the topline after updating scroll binding. Add a test.
|
| H A D | eval.txt | 6377 topline first displayed buffer line 12180 topline first line in the window
|