Lines Matching refs:top
1787 linenr_T top; // just above displayed lines in scroll_cursor_top() local
1812 if (hasFolding(curwin->w_cursor.lnum, &top, &bot)) in scroll_cursor_top()
1814 --top; in scroll_cursor_top()
1820 top = curwin->w_cursor.lnum - 1; in scroll_cursor_top()
1823 new_topline = top + 1; in scroll_cursor_top()
1836 while (top > 0) in scroll_cursor_top()
1839 if (hasFolding(top, &top, NULL)) in scroll_cursor_top()
1844 i = PLINES_NOFILL(top); in scroll_cursor_top()
1858 if (top < curwin->w_topline) in scroll_cursor_top()
1869 new_topline = top; in scroll_cursor_top()
1870 --top; in scroll_cursor_top()